Initial commit
This commit is contained in:
21
node_modules/source-map-url/LICENSE
generated
vendored
Normal file
21
node_modules/source-map-url/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Simon Lydell
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
20
node_modules/source-map-url/bower.json
generated
vendored
Normal file
20
node_modules/source-map-url/bower.json
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "source-map-url",
|
||||
"version": "0.4.0",
|
||||
"author": "Simon Lydell",
|
||||
"license": "MIT",
|
||||
"description": "Tools for working with sourceMappingURL comments.",
|
||||
"keywords": [
|
||||
"source map",
|
||||
"sourceMappingURL",
|
||||
"comment",
|
||||
"annotation"
|
||||
],
|
||||
"main": "source-map-url.js",
|
||||
"authors": [
|
||||
"Simon Lydell"
|
||||
],
|
||||
"ignore": [
|
||||
".*"
|
||||
]
|
||||
}
|
||||
18
node_modules/source-map-url/component.json
generated
vendored
Normal file
18
node_modules/source-map-url/component.json
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "source-map-url",
|
||||
"version": "0.4.0",
|
||||
"author": "Simon Lydell",
|
||||
"license": "MIT",
|
||||
"description": "Tools for working with sourceMappingURL comments.",
|
||||
"keywords": [
|
||||
"source map",
|
||||
"sourceMappingURL",
|
||||
"comment",
|
||||
"annotation"
|
||||
],
|
||||
"main": "source-map-url.js",
|
||||
"repo": "lydell/source-map-url",
|
||||
"scripts": [
|
||||
"source-map-url.js"
|
||||
]
|
||||
}
|
||||
28
node_modules/source-map-url/package.json
generated
vendored
Normal file
28
node_modules/source-map-url/package.json
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "source-map-url",
|
||||
"version": "0.4.0",
|
||||
"author": "Simon Lydell",
|
||||
"license": "MIT",
|
||||
"description": "Tools for working with sourceMappingURL comments.",
|
||||
"main": "source-map-url.js",
|
||||
"repository": "lydell/source-map-url",
|
||||
"devDependencies": {
|
||||
"mocha": "~1.17.1",
|
||||
"expect.js": "~0.3.1",
|
||||
"jshint": "~2.4.3"
|
||||
},
|
||||
"testling": {
|
||||
"harness": "mocha",
|
||||
"files": "test/*.js",
|
||||
"browsers": [
|
||||
"ie/8..latest",
|
||||
"chrome/latest",
|
||||
"firefox/latest",
|
||||
"opera/12",
|
||||
"opera/latest",
|
||||
"safari/5",
|
||||
"iphone/6",
|
||||
"android-browser/4"
|
||||
]
|
||||
}
|
||||
}
|
||||
57
node_modules/source-map-url/source-map-url.js
generated
vendored
Normal file
57
node_modules/source-map-url/source-map-url.js
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
// Copyright 2014 Simon Lydell
|
||||
// X11 (“MIT”) Licensed. (See LICENSE.)
|
||||
|
||||
void (function(root, factory) {
|
||||
if (typeof define === "function" && define.amd) {
|
||||
define(factory)
|
||||
} else if (typeof exports === "object") {
|
||||
module.exports = factory()
|
||||
} else {
|
||||
root.sourceMappingURL = factory()
|
||||
}
|
||||
}(this, function() {
|
||||
|
||||
var innerRegex = /[#@] sourceMappingURL=([^\s'"]*)/
|
||||
|
||||
var regex = RegExp(
|
||||
"(?:" +
|
||||
"/\\*" +
|
||||
"(?:\\s*\r?\n(?://)?)?" +
|
||||
"(?:" + innerRegex.source + ")" +
|
||||
"\\s*" +
|
||||
"\\*/" +
|
||||
"|" +
|
||||
"//(?:" + innerRegex.source + ")" +
|
||||
")" +
|
||||
"\\s*"
|
||||
)
|
||||
|
||||
return {
|
||||
|
||||
regex: regex,
|
||||
_innerRegex: innerRegex,
|
||||
|
||||
getFrom: function(code) {
|
||||
var match = code.match(regex)
|
||||
return (match ? match[1] || match[2] || "" : null)
|
||||
},
|
||||
|
||||
existsIn: function(code) {
|
||||
return regex.test(code)
|
||||
},
|
||||
|
||||
removeFrom: function(code) {
|
||||
return code.replace(regex, "")
|
||||
},
|
||||
|
||||
insertBefore: function(code, string) {
|
||||
var match = code.match(regex)
|
||||
if (match) {
|
||||
return code.slice(0, match.index) + string + code.slice(match.index)
|
||||
} else {
|
||||
return code + string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}));
|
||||
55
node_modules/source-map-url/x-package.json5
generated
vendored
Normal file
55
node_modules/source-map-url/x-package.json5
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
name: "source-map-url",
|
||||
version: "0.4.0",
|
||||
author: "Simon Lydell",
|
||||
license: "MIT",
|
||||
description: "Tools for working with sourceMappingURL comments.",
|
||||
keywords: [
|
||||
"source map",
|
||||
"sourceMappingURL",
|
||||
"comment",
|
||||
"annotation"
|
||||
],
|
||||
main: "source-map-url.js",
|
||||
overlay: {
|
||||
npm: {
|
||||
repository: "lydell/source-map-url",
|
||||
scripts: {
|
||||
lint: "jshint source-map-url.js test/ ",
|
||||
unit: "mocha",
|
||||
test: "npm run lint && npm run unit"
|
||||
},
|
||||
devDependencies: {
|
||||
"mocha": "~1.17.1",
|
||||
"expect.js": "~0.3.1",
|
||||
"jshint": "~2.4.3"
|
||||
},
|
||||
testling: {
|
||||
harness: "mocha",
|
||||
files: "test/*.js",
|
||||
browsers: [
|
||||
"ie/8..latest",
|
||||
"chrome/latest",
|
||||
"firefox/latest",
|
||||
"opera/12",
|
||||
"opera/latest",
|
||||
"safari/5",
|
||||
"iphone/6",
|
||||
"android-browser/4"
|
||||
]
|
||||
}
|
||||
},
|
||||
component: {
|
||||
repo: "lydell/source-map-url",
|
||||
scripts: [
|
||||
"source-map-url.js"
|
||||
]
|
||||
},
|
||||
bower: {
|
||||
authors: ["Simon Lydell"],
|
||||
ignore: [
|
||||
".*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user