├── .editorconfig ├── .gitignore ├── .jshintrc ├── .npmignore ├── .npmrc ├── .travis.yml ├── LICENSE.md ├── README.md ├── contributing.md ├── core.js ├── data-from-url.js ├── docs ├── apis.json ├── can-fixture.md ├── fixture.delay.md ├── fixture.fixtures.md ├── fixture.on.md ├── fixture.rand.md ├── fixture.store.md └── types │ ├── Store.prototype.createData.md │ ├── Store.prototype.createInstance.md │ ├── Store.prototype.destroyData.md │ ├── Store.prototype.destroyInstance.md │ ├── Store.prototype.get.md │ ├── Store.prototype.getData.md │ ├── Store.prototype.getList.md │ ├── Store.prototype.getListData.md │ ├── Store.prototype.reset.md │ ├── Store.prototype.updateData.md │ ├── Store.prototype.updateInstance.md │ ├── StoreType.md │ ├── ajaxSettings.md │ ├── request.md │ ├── requestHandler.md │ └── response.md ├── fixture.js ├── helpers ├── getid.js └── legacyStore.js ├── matches.js ├── package.json ├── store.js ├── test ├── build.html ├── fixture_test.js ├── fixtures │ ├── foo.json │ ├── foobar.json │ ├── messages.html │ ├── method.4.json │ ├── remove.json │ ├── stuff.3.json │ ├── test.json │ └── type.4.json ├── matches-test.js ├── store-test.js └── test.html └── xhr.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/README.md -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/contributing.md -------------------------------------------------------------------------------- /core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/core.js -------------------------------------------------------------------------------- /data-from-url.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/data-from-url.js -------------------------------------------------------------------------------- /docs/apis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/apis.json -------------------------------------------------------------------------------- /docs/can-fixture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/can-fixture.md -------------------------------------------------------------------------------- /docs/fixture.delay.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/fixture.delay.md -------------------------------------------------------------------------------- /docs/fixture.fixtures.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/fixture.fixtures.md -------------------------------------------------------------------------------- /docs/fixture.on.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/fixture.on.md -------------------------------------------------------------------------------- /docs/fixture.rand.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/fixture.rand.md -------------------------------------------------------------------------------- /docs/fixture.store.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/fixture.store.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.createData.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.createData.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.createInstance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.createInstance.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.destroyData.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.destroyData.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.destroyInstance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.destroyInstance.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.get.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.get.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.getData.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.getData.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.getList.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.getList.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.getListData.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.getListData.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.reset.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.reset.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.updateData.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.updateData.md -------------------------------------------------------------------------------- /docs/types/Store.prototype.updateInstance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/Store.prototype.updateInstance.md -------------------------------------------------------------------------------- /docs/types/StoreType.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/StoreType.md -------------------------------------------------------------------------------- /docs/types/ajaxSettings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/ajaxSettings.md -------------------------------------------------------------------------------- /docs/types/request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/request.md -------------------------------------------------------------------------------- /docs/types/requestHandler.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/requestHandler.md -------------------------------------------------------------------------------- /docs/types/response.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/docs/types/response.md -------------------------------------------------------------------------------- /fixture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/fixture.js -------------------------------------------------------------------------------- /helpers/getid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/helpers/getid.js -------------------------------------------------------------------------------- /helpers/legacyStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/helpers/legacyStore.js -------------------------------------------------------------------------------- /matches.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/matches.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/package.json -------------------------------------------------------------------------------- /store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/store.js -------------------------------------------------------------------------------- /test/build.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/test/build.html -------------------------------------------------------------------------------- /test/fixture_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/test/fixture_test.js -------------------------------------------------------------------------------- /test/fixtures/foo.json: -------------------------------------------------------------------------------- 1 | {"a" : "b"} 2 | -------------------------------------------------------------------------------- /test/fixtures/foobar.json: -------------------------------------------------------------------------------- 1 | { 2 | "sweet" :"ner" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/messages.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/test/fixtures/messages.html -------------------------------------------------------------------------------- /test/fixtures/method.4.json: -------------------------------------------------------------------------------- 1 | { 2 | "id" : 4 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/remove.json: -------------------------------------------------------------------------------- 1 | { 2 | "weird" : "ness" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/stuff.3.json: -------------------------------------------------------------------------------- 1 | { 2 | "id" : 3 3 | } -------------------------------------------------------------------------------- /test/fixtures/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "sweet" :"ness" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/type.4.json: -------------------------------------------------------------------------------- 1 | { 2 | "id" : 4 3 | } 4 | -------------------------------------------------------------------------------- /test/matches-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/test/matches-test.js -------------------------------------------------------------------------------- /test/store-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/test/store-test.js -------------------------------------------------------------------------------- /test/test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/test/test.html -------------------------------------------------------------------------------- /xhr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/canjs/can-fixture/HEAD/xhr.js --------------------------------------------------------------------------------