mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 09:49:32 +00:00 
			
		
		
		
	fix
This commit is contained in:
		
							
								
								
									
										1
									
								
								node_modules/isarray/.npmignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/isarray/.npmignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
node_modules
 | 
			
		||||
							
								
								
									
										4
									
								
								node_modules/isarray/.travis.yml
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								node_modules/isarray/.travis.yml
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
language: node_js
 | 
			
		||||
node_js:
 | 
			
		||||
  - "0.8"
 | 
			
		||||
  - "0.10"
 | 
			
		||||
							
								
								
									
										6
									
								
								node_modules/isarray/Makefile
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								node_modules/isarray/Makefile
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
 | 
			
		||||
test:
 | 
			
		||||
	@node_modules/.bin/tape test.js
 | 
			
		||||
 | 
			
		||||
.PHONY: test
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										60
									
								
								node_modules/isarray/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								node_modules/isarray/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,60 @@
 | 
			
		||||
 | 
			
		||||
# isarray
 | 
			
		||||
 | 
			
		||||
`Array#isArray` for older browsers.
 | 
			
		||||
 | 
			
		||||
[](http://travis-ci.org/juliangruber/isarray)
 | 
			
		||||
[](https://www.npmjs.org/package/isarray)
 | 
			
		||||
 | 
			
		||||
[
 | 
			
		||||
](https://ci.testling.com/juliangruber/isarray)
 | 
			
		||||
 | 
			
		||||
## Usage
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
var isArray = require('isarray');
 | 
			
		||||
 | 
			
		||||
console.log(isArray([])); // => true
 | 
			
		||||
console.log(isArray({})); // => false
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
With [npm](http://npmjs.org) do
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
$ npm install isarray
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Then bundle for the browser with
 | 
			
		||||
[browserify](https://github.com/substack/browserify).
 | 
			
		||||
 | 
			
		||||
With [component](http://component.io) do
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
$ component install juliangruber/isarray
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
(MIT)
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
							
								
								
									
										19
									
								
								node_modules/isarray/component.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/isarray/component.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
{
 | 
			
		||||
  "name" : "isarray",
 | 
			
		||||
  "description" : "Array#isArray for older browsers",
 | 
			
		||||
  "version" : "0.0.1",
 | 
			
		||||
  "repository" : "juliangruber/isarray",
 | 
			
		||||
  "homepage": "https://github.com/juliangruber/isarray",
 | 
			
		||||
  "main" : "index.js",
 | 
			
		||||
  "scripts" : [
 | 
			
		||||
    "index.js"
 | 
			
		||||
  ],
 | 
			
		||||
  "dependencies" : {},
 | 
			
		||||
  "keywords": ["browser","isarray","array"],
 | 
			
		||||
  "author": {
 | 
			
		||||
    "name": "Julian Gruber",
 | 
			
		||||
    "email": "mail@juliangruber.com",
 | 
			
		||||
    "url": "http://juliangruber.com"
 | 
			
		||||
  },
 | 
			
		||||
  "license": "MIT"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										5
									
								
								node_modules/isarray/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								node_modules/isarray/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
var toString = {}.toString;
 | 
			
		||||
 | 
			
		||||
module.exports = Array.isArray || function (arr) {
 | 
			
		||||
  return toString.call(arr) == '[object Array]';
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										73
									
								
								node_modules/isarray/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								node_modules/isarray/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,73 @@
 | 
			
		||||
{
 | 
			
		||||
  "_from": "isarray@~1.0.0",
 | 
			
		||||
  "_id": "isarray@1.0.0",
 | 
			
		||||
  "_inBundle": false,
 | 
			
		||||
  "_integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
 | 
			
		||||
  "_location": "/isarray",
 | 
			
		||||
  "_phantomChildren": {},
 | 
			
		||||
  "_requested": {
 | 
			
		||||
    "type": "range",
 | 
			
		||||
    "registry": true,
 | 
			
		||||
    "raw": "isarray@~1.0.0",
 | 
			
		||||
    "name": "isarray",
 | 
			
		||||
    "escapedName": "isarray",
 | 
			
		||||
    "rawSpec": "~1.0.0",
 | 
			
		||||
    "saveSpec": null,
 | 
			
		||||
    "fetchSpec": "~1.0.0"
 | 
			
		||||
  },
 | 
			
		||||
  "_requiredBy": [
 | 
			
		||||
    "/readable-stream"
 | 
			
		||||
  ],
 | 
			
		||||
  "_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
 | 
			
		||||
  "_shasum": "bb935d48582cba168c06834957a54a3e07124f11",
 | 
			
		||||
  "_spec": "isarray@~1.0.0",
 | 
			
		||||
  "_where": "C:\\Users\\matia\\Musix\\node_modules\\readable-stream",
 | 
			
		||||
  "author": {
 | 
			
		||||
    "name": "Julian Gruber",
 | 
			
		||||
    "email": "mail@juliangruber.com",
 | 
			
		||||
    "url": "http://juliangruber.com"
 | 
			
		||||
  },
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "url": "https://github.com/juliangruber/isarray/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "bundleDependencies": false,
 | 
			
		||||
  "dependencies": {},
 | 
			
		||||
  "deprecated": false,
 | 
			
		||||
  "description": "Array#isArray for older browsers",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "tape": "~2.13.4"
 | 
			
		||||
  },
 | 
			
		||||
  "homepage": "https://github.com/juliangruber/isarray",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "browser",
 | 
			
		||||
    "isarray",
 | 
			
		||||
    "array"
 | 
			
		||||
  ],
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "name": "isarray",
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git://github.com/juliangruber/isarray.git"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "tape test.js"
 | 
			
		||||
  },
 | 
			
		||||
  "testling": {
 | 
			
		||||
    "files": "test.js",
 | 
			
		||||
    "browsers": [
 | 
			
		||||
      "ie/8..latest",
 | 
			
		||||
      "firefox/17..latest",
 | 
			
		||||
      "firefox/nightly",
 | 
			
		||||
      "chrome/22..latest",
 | 
			
		||||
      "chrome/canary",
 | 
			
		||||
      "opera/12..latest",
 | 
			
		||||
      "opera/next",
 | 
			
		||||
      "safari/5.1..latest",
 | 
			
		||||
      "ipad/6.0..latest",
 | 
			
		||||
      "iphone/6.0..latest",
 | 
			
		||||
      "android-browser/4.2..latest"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "version": "1.0.0"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										20
									
								
								node_modules/isarray/test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								node_modules/isarray/test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
var isArray = require('./');
 | 
			
		||||
var test = require('tape');
 | 
			
		||||
 | 
			
		||||
test('is array', function(t){
 | 
			
		||||
  t.ok(isArray([]));
 | 
			
		||||
  t.notOk(isArray({}));
 | 
			
		||||
  t.notOk(isArray(null));
 | 
			
		||||
  t.notOk(isArray(false));
 | 
			
		||||
 | 
			
		||||
  var obj = {};
 | 
			
		||||
  obj[0] = true;
 | 
			
		||||
  t.notOk(isArray(obj));
 | 
			
		||||
 | 
			
		||||
  var arr = [];
 | 
			
		||||
  arr.foo = 'bar';
 | 
			
		||||
  t.ok(isArray(arr));
 | 
			
		||||
 | 
			
		||||
  t.end();
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user