mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	main
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]'; | ||||
| }; | ||||
							
								
								
									
										45
									
								
								node_modules/isarray/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								node_modules/isarray/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | ||||
| { | ||||
|   "name": "isarray", | ||||
|   "description": "Array#isArray for older browsers", | ||||
|   "version": "1.0.0", | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git://github.com/juliangruber/isarray.git" | ||||
|   }, | ||||
|   "homepage": "https://github.com/juliangruber/isarray", | ||||
|   "main": "index.js", | ||||
|   "dependencies": {}, | ||||
|   "devDependencies": { | ||||
|     "tape": "~2.13.4" | ||||
|   }, | ||||
|   "keywords": [ | ||||
|     "browser", | ||||
|     "isarray", | ||||
|     "array" | ||||
|   ], | ||||
|   "author": { | ||||
|     "name": "Julian Gruber", | ||||
|     "email": "mail@juliangruber.com", | ||||
|     "url": "http://juliangruber.com" | ||||
|   }, | ||||
|   "license": "MIT", | ||||
|   "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" | ||||
|     ] | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "test": "tape test.js" | ||||
|   } | ||||
| } | ||||
							
								
								
									
										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