mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
6
node_modules/is-promise/.npmignore
generated
vendored
Normal file
6
node_modules/is-promise/.npmignore
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
component
|
||||
build
|
||||
node_modules
|
||||
test.js
|
||||
component.json
|
||||
.gitignore
|
||||
3
node_modules/is-promise/.travis.yml
generated
vendored
Normal file
3
node_modules/is-promise/.travis.yml
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "0.10"
|
||||
19
node_modules/is-promise/LICENSE
generated
vendored
Normal file
19
node_modules/is-promise/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) 2014 Forbes Lindesay
|
||||
|
||||
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.
|
||||
5
node_modules/is-promise/index.js
generated
vendored
Normal file
5
node_modules/is-promise/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = isPromise;
|
||||
|
||||
function isPromise(obj) {
|
||||
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
|
||||
}
|
||||
74
node_modules/is-promise/package.json
generated
vendored
Normal file
74
node_modules/is-promise/package.json
generated
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"is-promise@^2.0.0",
|
||||
"/home/mitchell/Desktop/test-mywebsite/mywebsite/node_modules/jstransformer"
|
||||
]
|
||||
],
|
||||
"_from": "is-promise@>=2.0.0 <3.0.0",
|
||||
"_id": "is-promise@2.1.0",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/is-promise",
|
||||
"_nodeVersion": "1.6.2",
|
||||
"_npmUser": {
|
||||
"email": "forbes@lindesay.co.uk",
|
||||
"name": "forbeslindesay"
|
||||
},
|
||||
"_npmVersion": "2.7.1",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "is-promise",
|
||||
"raw": "is-promise@^2.0.0",
|
||||
"rawSpec": "^2.0.0",
|
||||
"scope": null,
|
||||
"spec": ">=2.0.0 <3.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/jstransformer"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
|
||||
"_shasum": "79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "is-promise@^2.0.0",
|
||||
"_where": "/home/mitchell/Desktop/test-mywebsite/mywebsite/node_modules/jstransformer",
|
||||
"author": {
|
||||
"name": "ForbesLindesay"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/then/is-promise/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "Test whether an object looks like a promises-a+ promise",
|
||||
"devDependencies": {
|
||||
"better-assert": "~0.1.0",
|
||||
"mocha": "~1.7.4"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa",
|
||||
"tarball": "http://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz"
|
||||
},
|
||||
"gitHead": "056f8ac12eed91886ac4f0f7d872a176f6ed698f",
|
||||
"homepage": "https://github.com/then/is-promise",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "forbeslindesay",
|
||||
"email": "forbes@lindesay.co.uk"
|
||||
}
|
||||
],
|
||||
"name": "is-promise",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/then/is-promise.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha -R spec"
|
||||
},
|
||||
"version": "2.1.0"
|
||||
}
|
||||
29
node_modules/is-promise/readme.md
generated
vendored
Normal file
29
node_modules/is-promise/readme.md
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<a href="http://promises-aplus.github.com/promises-spec"><img src="http://promises-aplus.github.com/promises-spec/assets/logo-small.png" align="right" /></a>
|
||||
# is-promise
|
||||
|
||||
Test whether an object looks like a promises-a+ promise
|
||||
|
||||
[](https://travis-ci.org/then/is-promise)
|
||||
[](https://gemnasium.com/then/is-promise)
|
||||
[](https://www.npmjs.org/package/is-promise)
|
||||
|
||||
## Installation
|
||||
|
||||
$ npm install is-promise
|
||||
|
||||
You can also use it client side via npm.
|
||||
|
||||
## API
|
||||
|
||||
```javascript
|
||||
var isPromise = require('is-promise');
|
||||
|
||||
isPromise({then:function () {...}});//=>true
|
||||
isPromise(null);//=>false
|
||||
isPromise({});//=>false
|
||||
isPromise({then: true})//=>false
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user