TheDesk Riina (ver.3)
This commit is contained in:
4
app/node_modules/trim/.npmignore
generated
vendored
Normal file
4
app/node_modules/trim/.npmignore
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
support
|
||||
test
|
||||
examples
|
||||
*.sock
|
5
app/node_modules/trim/History.md
generated
vendored
Normal file
5
app/node_modules/trim/History.md
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
0.0.1 / 2010-01-03
|
||||
==================
|
||||
|
||||
* Initial release
|
7
app/node_modules/trim/Makefile
generated
vendored
Normal file
7
app/node_modules/trim/Makefile
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
test:
|
||||
@./node_modules/.bin/mocha \
|
||||
--require should \
|
||||
--reporter spec
|
||||
|
||||
.PHONY: test
|
69
app/node_modules/trim/Readme.md
generated
vendored
Normal file
69
app/node_modules/trim/Readme.md
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
|
||||
# trim
|
||||
|
||||
Trims string whitespace.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
$ npm install trim
|
||||
$ component install component/trim
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
- [trim(str)](#trimstr)
|
||||
- [.left(str)](#leftstr)
|
||||
- [.right(str)](#rightstr)
|
||||
<a name="" />
|
||||
|
||||
<a name="trimstr" />
|
||||
### trim(str)
|
||||
should trim leading / trailing whitespace.
|
||||
|
||||
```js
|
||||
trim(' foo bar ').should.equal('foo bar');
|
||||
trim('\n\n\nfoo bar\n\r\n\n').should.equal('foo bar');
|
||||
```
|
||||
|
||||
<a name="leftstr" />
|
||||
### .left(str)
|
||||
should trim leading whitespace.
|
||||
|
||||
```js
|
||||
trim.left(' foo bar ').should.equal('foo bar ');
|
||||
```
|
||||
|
||||
<a name="rightstr" />
|
||||
### .right(str)
|
||||
should trim trailing whitespace.
|
||||
|
||||
```js
|
||||
trim.right(' foo bar ').should.equal(' foo bar');
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
|
||||
|
||||
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.
|
7
app/node_modules/trim/component.json
generated
vendored
Normal file
7
app/node_modules/trim/component.json
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "trim",
|
||||
"version": "0.0.1",
|
||||
"description": "Trim string whitespace",
|
||||
"keywords": ["string", "trim"],
|
||||
"scripts": ["index.js"]
|
||||
}
|
14
app/node_modules/trim/index.js
generated
vendored
Normal file
14
app/node_modules/trim/index.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
exports = module.exports = trim;
|
||||
|
||||
function trim(str){
|
||||
return str.replace(/^\s*|\s*$/g, '');
|
||||
}
|
||||
|
||||
exports.left = function(str){
|
||||
return str.replace(/^\s*/, '');
|
||||
};
|
||||
|
||||
exports.right = function(str){
|
||||
return str.replace(/\s*$/, '');
|
||||
};
|
79
app/node_modules/trim/package.json
generated
vendored
Normal file
79
app/node_modules/trim/package.json
generated
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "trim@0.0.1",
|
||||
"scope": null,
|
||||
"escapedName": "trim",
|
||||
"name": "trim",
|
||||
"rawSpec": "0.0.1",
|
||||
"spec": "0.0.1",
|
||||
"type": "version"
|
||||
},
|
||||
"C:\\Users\\ryuki\\TheDesk\\app\\node_modules\\parse-headers"
|
||||
]
|
||||
],
|
||||
"_from": "trim@0.0.1",
|
||||
"_id": "trim@0.0.1",
|
||||
"_inCache": true,
|
||||
"_location": "/trim",
|
||||
"_npmUser": {
|
||||
"name": "tjholowaychuk",
|
||||
"email": "tj@vision-media.ca"
|
||||
},
|
||||
"_npmVersion": "1.2.2",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "trim@0.0.1",
|
||||
"scope": null,
|
||||
"escapedName": "trim",
|
||||
"name": "trim",
|
||||
"rawSpec": "0.0.1",
|
||||
"spec": "0.0.1",
|
||||
"type": "version"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/parse-headers"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz",
|
||||
"_shasum": "5858547f6b290757ee95cccc666fb50084c460dd",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "trim@0.0.1",
|
||||
"_where": "C:\\Users\\ryuki\\TheDesk\\app\\node_modules\\parse-headers",
|
||||
"author": {
|
||||
"name": "TJ Holowaychuk",
|
||||
"email": "tj@vision-media.ca"
|
||||
},
|
||||
"component": {
|
||||
"scripts": {
|
||||
"trim/index.js": "index.js"
|
||||
}
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "Trim string whitespace",
|
||||
"devDependencies": {
|
||||
"mocha": "*",
|
||||
"should": "*"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "5858547f6b290757ee95cccc666fb50084c460dd",
|
||||
"tarball": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz"
|
||||
},
|
||||
"keywords": [
|
||||
"string",
|
||||
"trim"
|
||||
],
|
||||
"main": "index",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "tjholowaychuk",
|
||||
"email": "tj@vision-media.ca"
|
||||
}
|
||||
],
|
||||
"name": "trim",
|
||||
"optionalDependencies": {},
|
||||
"readme": "\n# trim\n\n Trims string whitespace.\n\n## Installation\n\n```\n$ npm install trim\n$ component install component/trim\n```\n\n## API\n\n - [trim(str)](#trimstr)\n - [.left(str)](#leftstr)\n - [.right(str)](#rightstr)\n<a name=\"\" />\n \n<a name=\"trimstr\" />\n### trim(str)\nshould trim leading / trailing whitespace.\n\n```js\ntrim(' foo bar ').should.equal('foo bar');\ntrim('\\n\\n\\nfoo bar\\n\\r\\n\\n').should.equal('foo bar');\n```\n\n<a name=\"leftstr\" />\n### .left(str)\nshould trim leading whitespace.\n\n```js\ntrim.left(' foo bar ').should.equal('foo bar ');\n```\n\n<a name=\"rightstr\" />\n### .right(str)\nshould trim trailing whitespace.\n\n```js\ntrim.right(' foo bar ').should.equal(' foo bar');\n```\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
|
||||
"readmeFilename": "Readme.md",
|
||||
"version": "0.0.1"
|
||||
}
|
Reference in New Issue
Block a user