--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
1
node_modules/rework-plugin-url/.npmignore
generated
vendored
Normal file
1
node_modules/rework-plugin-url/.npmignore
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
test
|
||||
3
node_modules/rework-plugin-url/.travis.yml
generated
vendored
Normal file
3
node_modules/rework-plugin-url/.travis.yml
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "0.10"
|
||||
21
node_modules/rework-plugin-url/LICENSE
generated
vendored
Normal file
21
node_modules/rework-plugin-url/LICENSE
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 reworkcss
|
||||
|
||||
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.
|
||||
28
node_modules/rework-plugin-url/README.md
generated
vendored
Normal file
28
node_modules/rework-plugin-url/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
rework-plugin-url
|
||||
====================
|
||||
|
||||
[](https://travis-ci.org/reworkcss/rework-plugin-url)
|
||||
|
||||
Map `url()` calls. Replace all `url()`s using a given function.
|
||||
|
||||
```js
|
||||
var css = rework(read(css))
|
||||
.use(rework.url(function(url){
|
||||
return 'http://example.com' + url;
|
||||
}))
|
||||
.toString()
|
||||
```
|
||||
|
||||
```css
|
||||
body {
|
||||
background: url(/images/bg.png);
|
||||
}
|
||||
```
|
||||
|
||||
yields:
|
||||
|
||||
```css
|
||||
body {
|
||||
background: url(http://example.com/images/bg.png);
|
||||
}
|
||||
```
|
||||
31
node_modules/rework-plugin-url/index.js
generated
vendored
Normal file
31
node_modules/rework-plugin-url/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
||||
var func = require('rework-plugin-function');
|
||||
|
||||
/**
|
||||
* Map `url()` calls.
|
||||
*
|
||||
* body {
|
||||
* background: url(/images/bg.png);
|
||||
* }
|
||||
*
|
||||
* yields:
|
||||
*
|
||||
* body {
|
||||
* background: url(http://example.com/images/bg.png);
|
||||
* }
|
||||
*
|
||||
*/
|
||||
|
||||
module.exports = function(fn) {
|
||||
return func({
|
||||
url: function(path){
|
||||
path = path.split('"').join('');
|
||||
path = path.split('\'').join('');
|
||||
return 'url("' + fn.call(this, path.trim()) + '")';
|
||||
}
|
||||
}, false);
|
||||
};
|
||||
108
node_modules/rework-plugin-url/package.json
generated
vendored
Normal file
108
node_modules/rework-plugin-url/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "rework-plugin-url@^1.0.1",
|
||||
"scope": null,
|
||||
"escapedName": "rework-plugin-url",
|
||||
"name": "rework-plugin-url",
|
||||
"rawSpec": "^1.0.1",
|
||||
"spec": ">=1.0.1 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/Users/jose/Documents/GitHub/Mods/node_modules/gulp-concat-css"
|
||||
]
|
||||
],
|
||||
"_from": "rework-plugin-url@>=1.0.1 <2.0.0",
|
||||
"_id": "rework-plugin-url@1.1.0",
|
||||
"_inCache": true,
|
||||
"_location": "/rework-plugin-url",
|
||||
"_nodeVersion": "2.3.1",
|
||||
"_npmUser": {
|
||||
"name": "conradz",
|
||||
"email": "me@conradz.com"
|
||||
},
|
||||
"_npmVersion": "3.1.2",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "rework-plugin-url@^1.0.1",
|
||||
"scope": null,
|
||||
"escapedName": "rework-plugin-url",
|
||||
"name": "rework-plugin-url",
|
||||
"rawSpec": "^1.0.1",
|
||||
"spec": ">=1.0.1 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-concat-css"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/rework-plugin-url/-/rework-plugin-url-1.1.0.tgz",
|
||||
"_shasum": "ab53e8b1057b9d5ecc1c8273ff7db18608375c45",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "rework-plugin-url@^1.0.1",
|
||||
"_where": "/Users/jose/Documents/GitHub/Mods/node_modules/gulp-concat-css",
|
||||
"author": {
|
||||
"name": "reworkcss"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/reworkcss/rework-plugin-url/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"rework-plugin-function": "^1.0.0"
|
||||
},
|
||||
"description": "url() plugin for rework, formerly included in core",
|
||||
"devDependencies": {
|
||||
"mocha": "^1.17.1",
|
||||
"rework": "^1.0.0",
|
||||
"should": "^3.1.3"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "ab53e8b1057b9d5ecc1c8273ff7db18608375c45",
|
||||
"tarball": "https://registry.npmjs.org/rework-plugin-url/-/rework-plugin-url-1.1.0.tgz"
|
||||
},
|
||||
"gitHead": "80d1bf7c4d681cd82c09f1ec12c4d6e7b3588e4b",
|
||||
"homepage": "https://github.com/reworkcss/rework-plugin-url",
|
||||
"keywords": [
|
||||
"browser",
|
||||
"server",
|
||||
"css",
|
||||
"preprocess",
|
||||
"transform"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "bclinkinbeard",
|
||||
"email": "ben.clinkinbeard@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "slexaxton",
|
||||
"email": "alexsexton@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "necolas",
|
||||
"email": "nicolasgallagher@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "conradz",
|
||||
"email": "me@conradz.com"
|
||||
},
|
||||
{
|
||||
"name": "jongleberry",
|
||||
"email": "jonathanrichardong@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "rework-plugin-url",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/reworkcss/rework-plugin-url.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha --require should --reporter spec"
|
||||
},
|
||||
"version": "1.1.0"
|
||||
}
|
||||
Loading…
Reference in a new issue