Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: js-data/js-data-angular
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.4.2
Choose a base ref
...
head repository: js-data/js-data-angular
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 4,938 additions and 8,338 deletions.
  1. +3 −0 .babelrc
  2. +27 −0 .github/CONTRIBUTING.md
  3. +7 −0 .github/ISSUE_TEMPLATE.md
  4. +8 −0 .github/PULL_REQUEST_TEMPLATE.md
  5. +8 −0 .gitignore
  6. +37 −32 .jshintrc
  7. +5 −0 .mailmap
  8. +15 −0 .npmignore
  9. +1 −0 .nvmrc
  10. +0 −13 .travis.yml
  11. +24 −0 AUTHORS
  12. +383 −0 CHANGELOG.md
  13. +0 −247 Gruntfile.js
  14. +1 −1 LICENSE
  15. +139 −37 README.md
  16. +146 −0 TRANSITION.md
  17. +17 −19 bower.json
  18. +3 −0 build_examples/browserify/README.md
  19. +17 −0 build_examples/browserify/app.js
  20. +11 −0 build_examples/browserify/index.html
  21. +3 −0 build_examples/r.js/README.md
  22. +9 −0 build_examples/r.js/app.js
  23. +14 −0 build_examples/r.js/index.html
  24. +23 −0 build_examples/r.js/main.js
  25. +6 −0 build_examples/r.js/require.config.js
  26. +3 −0 build_examples/webpack/README.md
  27. +17 −0 build_examples/webpack/app.js
  28. +11 −0 build_examples/webpack/index.html
  29. +12 −0 build_examples/webpack/webpack.config.js
  30. +3 −0 build_examples/webpack_es6/README.md
  31. +8 −0 build_examples/webpack_es6/app.js
  32. +11 −0 build_examples/webpack_es6/index.html
  33. +17 −0 build_examples/webpack_es6/webpack.config.js
  34. +3 −0 build_examples/webpack_es6_2/README.md
  35. +8 −0 build_examples/webpack_es6_2/app.js
  36. +11 −0 build_examples/webpack_es6_2/index.html
  37. +17 −0 build_examples/webpack_es6_2/webpack.config.js
  38. +12 −0 circle.yml
  39. +0 −4,151 dist/angular-data.js
  40. +0 −11 dist/angular-data.min.js
  41. +750 −0 dist/js-data-angular.js
  42. +1 −0 dist/js-data-angular.js.map
  43. +10 −0 dist/js-data-angular.min.js
  44. +1 −0 dist/js-data-angular.min.map
  45. +0 −73 guide/angular-data.css
  46. +0 −23 guide/angular-data.js
  47. +0 −8 guide/api/api.doc
  48. BIN guide/cream_dust.png
  49. BIN guide/data.png
  50. BIN guide/data16.png
  51. BIN guide/data32.png
  52. BIN guide/data_white.png
  53. BIN guide/favicon.ico
  54. +0 −19 guide/footer.html
  55. +0 −97 guide/home.html
  56. +0 −216 guide/index.html
  57. +0 −56 guide/nav.html
  58. +0 −181 guide/overview/overview.doc
  59. +0 −76 guide/resource/resource.doc
  60. +0 −17 index.html
  61. +76 −58 karma.conf.js
  62. +332 −71 karma.start.js
  63. +62 −51 package.json
  64. +7 −0 scripts/AUTHORS
  65. +6 −0 scripts/CONTRIBUTORS
  66. +58 −0 scripts/authors.js
  67. +29 −0 scripts/banner.js
  68. +25 −0 scripts/cleanup.js
  69. +23 −0 scripts/js-data-http.js
  70. +39 −0 scripts/version.js
  71. +0 −6 src/binaryHeap/defaults.js
  72. +0 −201 src/binaryHeap/index.js
  73. +0 −91 src/datastore/async_methods/create/index.js
  74. +0 −75 src/datastore/async_methods/destroy/index.js
  75. +0 −101 src/datastore/async_methods/find/index.js
  76. +0 −148 src/datastore/async_methods/findAll/index.js
  77. +0 −61 src/datastore/async_methods/index.js
  78. +0 −76 src/datastore/async_methods/refresh/index.js
  79. +0 −100 src/datastore/async_methods/save/index.js
  80. +0 −230 src/datastore/http/index.js
  81. +0 −99 src/datastore/index.js
  82. +0 −6 src/datastore/services/index.js
  83. +0 −54 src/datastore/sync_methods/changes/index.js
  84. +0 −84 src/datastore/sync_methods/defineResource/index.js
  85. +0 −43 src/datastore/sync_methods/digest/index.js
  86. +0 −92 src/datastore/sync_methods/eject/index.js
  87. +0 −177 src/datastore/sync_methods/filter/index.js
  88. +0 −61 src/datastore/sync_methods/get/index.js
  89. +0 −60 src/datastore/sync_methods/hasChanges/index.js
  90. +0 −110 src/datastore/sync_methods/index.js
  91. +0 −130 src/datastore/sync_methods/inject/index.js
  92. +0 −59 src/datastore/sync_methods/lastModified/index.js
  93. +0 −66 src/datastore/sync_methods/lastSaved/index.js
  94. +0 −56 src/datastore/sync_methods/previous/index.js
  95. +0 −210 src/errors/index.js
  96. +245 −46 src/index.js
  97. +0 −75 src/utils/index.js
  98. +0 −49 test.js
  99. +36 −0 test/adapters/http/create.test.js
  100. +30 −0 test/adapters/http/destroy.test.js
  101. +36 −0 test/adapters/http/destroyAll.test.js
  102. +87 −0 test/adapters/http/find.test.js
  103. +36 −0 test/adapters/http/findAll.test.js
  104. +36 −0 test/adapters/http/update.test.js
  105. +36 −0 test/adapters/http/updateAll.test.js
  106. +232 −0 test/datastore/async_methods/create.test.js
  107. +112 −0 test/datastore/async_methods/destroy.test.js
  108. +88 −0 test/datastore/async_methods/destroyAll.test.js
  109. +153 −0 test/datastore/async_methods/find.test.js
  110. +385 −0 test/datastore/async_methods/findAll.test.js
  111. +188 −0 test/datastore/async_methods/loadRelations.test.js
  112. +44 −0 test/datastore/async_methods/refresh.test.js
  113. +186 −0 test/datastore/async_methods/save.test.js
  114. +172 −0 test/datastore/async_methods/update.test.js
  115. +156 −0 test/datastore/async_methods/updateAll.test.js
  116. +93 −0 test/datastore/sync_methods/bindAll.test.js
  117. +93 −0 test/datastore/sync_methods/bindOne.test.js
  118. +0 −315 test/unit/datastore/sync_methods/filter/index.test.js
  119. +35 −0 webpack.config.js
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015"]
}
27 changes: 27 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing

[Read the Contributing Guide](http://js-data.io/docs/contributing).

## Support

[Find out how to Get Support](http://js-data.io/docs/support).

## Community

[Explore the Community](http://js-data.io/docs/community).

### Have write access?

To cut a release:

1. Checkout master
1. Bump version in `package.json` appropriately
1. Run `npm run release`
1. Update `CHANGELOG.md` appropriately
1. Commit and push changes, including the `dist/` folder
1. Make a GitHub release
- set tag name to version
- set release name to version
- set release body to changelog entry for the version
- attach the files in the `dist/` folder
1. `npm publish .`
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(delete this line) GitHub Issues are NOT for support questions.
(delete this line) GitHub Issues ARE for bug reports, feature requests, and other issues.
(delete this line) Find out how to Get Support here: http://js-data.io/docs/support.

<your detailed, discussable, actionable, and helpful text goes here>

Thanks!
8 changes: 8 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)

- [ ] - `npm test` succeeds
- [ ] - Pull request has been squashed into 1 commit
- [ ] - I did NOT commit changes to `dist/`
- [ ] - Code coverage does not decrease (if any source code was changed)
- [ ] - Appropriate JSDoc comments were updated in source code (if applicable)
- [ ] - Approprate changes to js-data.io docs have been suggested ("Suggest Edits" button)
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -20,3 +20,11 @@ bower_components/

*.iml
.idea/

build_examples/r.js/bundle.js
build_examples/browserify/bundle.js
build_examples/webpack/bundle.js
build_examples/webpack_es6/bundle.js
build_examples/webpack_es6_2/bundle.js
.js-data-http.js
.js-data-http/
69 changes: 37 additions & 32 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
{
"node": false,
"browser": true,
"es5": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true,
"predef": [
"inject",
"describe",
"it",
"beforeEach",
"afterEach",
"assert",
"require",
"module",
"exports",
"angular"
]
"node": false,
"browser": true,
"esnext": true,
"bitwise": true,
"asi": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": false,
"trailing": true,
"smarttabs": true,
"globals": {
"inject": true,
"describe": true,
"it": true,
"beforeEach": true,
"afterEach": true,
"assert": true,
"startInjector": true,
"DS": true,
"fail": true,
"$httpBackend": true,
"console": true,
"require": true,
"module": true,
"exports": true,
"angular": true
}
}
5 changes: 5 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
InternalFX <bryan@internalfx.com> Bryan <bryan@internalfx.com>
InternalFX <bryan@internalfx.com> Bryan Morris <bryan@internalfx.com>
Jason Dobry <jason.dobry@gmail.com> Jason Dobry <jmdobry@users.noreply.github.com>
Kent C. Dodds <kent@doddsfamily.us> Kent C. Dodds <kent+github@doddsfamily.us>
Robert Porter <rob@Roberts-MacBook-Pro.local> Robert P <rob@Roberts-MacBook-Pro.local>
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.*
bower.json
*.iml
.idea/
test/
coverage/
bower_components/
karma*
guide/
doc/
webpack.config.js
circle.yml

.js-data-http.js
.js-data-http/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

24 changes: 24 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This is the official list of js-data-angular project authors.
#
# Names are formatted as:
# Name or Organization <email address>
# The email address is not required for organizations.
Andre Deutmeyer <a.deutmeyer@gmail.com>
Artemy Tregubenko <me@arty.name>
Asaf Katz <asf.ktz@gmail.com>
Chase Noel <chase.i.noel@gmail.com>
Clark Pan <clark.pan@ansarada.com>
David Tang <dtang859@gmail.com>
Gabo Esquivel <contact@gaboesquivel.com>
Jason Aden <jasonaden@gmail.com>
Jason Dobry <jason.dobry@gmail.com>
Kent C. Dodds <kent@doddsfamily.us>
Loïc Mahieu <mahieuloic@gmail.com>
Nikolay <garmash.nikolay@gmail.com>
Peter Dave Hello <PeterDaveHello@users.noreply.github.com>
Shai Reznik <shai.reznik@gmail.com>
thorn0 <thorn.mailbox@gmail.com>
Tim Chen <timchen1@gmail.com>
Timothy Krell <timothykrell@gmail.com>
vollnhals <lion.vollnhals@googlemail.com>
Wes Cruver <chieffancypants@gmail.com>
Loading