This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
forked from jashkenas/backbone
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mixmaxhq/initial-release
feat: initial release
- Loading branch information
Showing
54 changed files
with
6,903 additions
and
22,335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
/neckbone* | ||
/docs | ||
/node_modules | ||
/test/vendor | ||
/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
## How to Open a Backbone.js Ticket | ||
## How to Open a Ticket | ||
|
||
- Before you open a ticket or send a pull request, | ||
[search](https://github.com/mixmaxhq/boddle/issues) for previous discussions | ||
[search](https://github.com/mixmaxhq/neckbone/issues) for previous discussions | ||
about the same feature or issue. Add to the earlier ticket if you find one. | ||
|
||
- Before sending a pull request for a feature or bug fix, be sure to have | ||
[tests](http://backbonejs.org/test/). | ||
|
||
- Use the same coding style as the rest of the | ||
[codebase](https://github.com/mixmaxhq/boddle/blob/master/backbone.js). | ||
[codebase](https://github.com/mixmaxhq/neckbone/tree/master). | ||
|
||
- All pull requests should be made to the `master` branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# boddle | ||
# neckbone | ||
|
||
Backbone-inspired data layer, aiming at majority API compatibility with modern promises and no | ||
underscore/jquery dependency. | ||
|
||
To suggest a feature or report a bug: | ||
https://github.com/mixmaxh/boddle/issues | ||
https://github.com/mixmaxh/neckbone/issues | ||
|
||
Many thanks to Backbone's contributors: | ||
https://github.com/jashkenas/backbone/graphs/contributors | ||
|
||
Special thanks to Robert Kieffer for the original philosophy behind Backbone (and, indirectly, | ||
boddle). | ||
neckbone). | ||
https://github.com/broofa | ||
|
||
## install | ||
|
||
```sh | ||
$ npm i -P boddle | ||
$ npm i -P neckbone | ||
``` | ||
|
||
## notable differences | ||
|
||
- No support for `View`, `Router`, `History`. | ||
- Does not use jQuery, and replaces underscore with lodash. | ||
- Does not support `Model#mixin` or `Collection#mixin`. | ||
- Does not provide a global event bus (e.g. `Backbone.trigger` on global `Backbone`). | ||
- Exports setter functions for previously-rewriteable exports: | ||
- `ajax` -> `setAJAXImplementation` | ||
- `emulateHTTP` -> `setEmulateHTTP` | ||
- `emulateJSON` -> `setEmulateJSON` | ||
- `sync` -> `setSyncImplementation` | ||
- Supports standard `class`-`extend` syntax instead of requiring e.g. `Model.extend`. | ||
- Potential for minor differences in method semantics. e.g. due to the `lodash` switch `Model#pick` does not support a function getter - use `Model#pickBy` instead. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.