Template Upload
This commit is contained in:
14
node_modules/has/.jshintrc
generated
vendored
Normal file
14
node_modules/has/.jshintrc
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"immed": true,
|
||||
"latedef": true,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"sub": true,
|
||||
"undef": true,
|
||||
"boss": true,
|
||||
"eqnull": true,
|
||||
"node": true,
|
||||
"browser": true
|
||||
}
|
3
node_modules/has/.npmignore
generated
vendored
Normal file
3
node_modules/has/.npmignore
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/node_modules/
|
||||
*.log
|
||||
*~
|
22
node_modules/has/LICENSE-MIT
generated
vendored
Normal file
22
node_modules/has/LICENSE-MIT
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
Copyright (c) 2013 Thiago de Arruda
|
||||
|
||||
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.
|
18
node_modules/has/README.mkd
generated
vendored
Normal file
18
node_modules/has/README.mkd
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# has
|
||||
|
||||
> Object.prototype.hasOwnProperty.call shortcut
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
npm install --save has
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var has = require('has');
|
||||
|
||||
has({}, 'hasOwnProperty'); // false
|
||||
has(Object.prototype, 'hasOwnProperty'); // true
|
||||
```
|
84
node_modules/has/package.json
generated
vendored
Normal file
84
node_modules/has/package.json
generated
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"has@^1.0.1",
|
||||
"C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\typings-core"
|
||||
]
|
||||
],
|
||||
"_from": "has@>=1.0.1-0 <2.0.0-0",
|
||||
"_id": "has@1.0.1",
|
||||
"_inCache": true,
|
||||
"_location": "/has",
|
||||
"_nodeVersion": "2.2.1",
|
||||
"_npmUser": {
|
||||
"email": "tpadilha84@gmail.com",
|
||||
"name": "tarruda"
|
||||
},
|
||||
"_npmVersion": "2.11.0",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "has",
|
||||
"raw": "has@^1.0.1",
|
||||
"rawSpec": "^1.0.1",
|
||||
"scope": null,
|
||||
"spec": ">=1.0.1-0 <2.0.0-0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/typings-core"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz",
|
||||
"_shasum": "8461733f538b0837c9361e39a9ab9e9704dc2f28",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "has@^1.0.1",
|
||||
"_where": "C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\typings-core",
|
||||
"author": {
|
||||
"email": "tpadilha84@gmail.com",
|
||||
"name": "Thiago de Arruda"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/tarruda/has/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"function-bind": "^1.0.2"
|
||||
},
|
||||
"description": "Object.prototype.hasOwnProperty.call shortcut",
|
||||
"devDependencies": {
|
||||
"chai": "~1.7.2",
|
||||
"mocha": "^1.21.4"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "8461733f538b0837c9361e39a9ab9e9704dc2f28",
|
||||
"tarball": "https://registry.npmjs.org/has/-/has-1.0.1.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8.0"
|
||||
},
|
||||
"gitHead": "535c5c8ed1dc255c9e223829e702548dd514d2a5",
|
||||
"homepage": "https://github.com/tarruda/has",
|
||||
"installable": true,
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/tarruda/has/blob/master/LICENSE-MIT"
|
||||
}
|
||||
],
|
||||
"main": "./src/index",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "tarruda",
|
||||
"email": "tpadilha84@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "has",
|
||||
"optionalDependencies": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/tarruda/has.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node_modules/mocha/bin/mocha"
|
||||
},
|
||||
"version": "1.0.1"
|
||||
}
|
3
node_modules/has/src/index.js
generated
vendored
Normal file
3
node_modules/has/src/index.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
var bind = require('function-bind');
|
||||
|
||||
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
7
node_modules/has/test/.jshintrc
generated
vendored
Normal file
7
node_modules/has/test/.jshintrc
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"globals": {
|
||||
"expect": false,
|
||||
"run": false
|
||||
},
|
||||
"expr": true
|
||||
}
|
10
node_modules/has/test/index.js
generated
vendored
Normal file
10
node_modules/has/test/index.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
global.expect = require('chai').expect;
|
||||
var has = require('../src');
|
||||
|
||||
|
||||
describe('has', function() {
|
||||
it('works!', function() {
|
||||
expect(has({}, 'hasOwnProperty')).to.be.false;
|
||||
expect(has(Object.prototype, 'hasOwnProperty')).to.be.true;
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user