Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

feat: initial release #1

Merged
merged 13 commits into from
Sep 9, 2020
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/boddle*
/docs
/node_modules
/test/vendor
/test
4 changes: 1 addition & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"Promise": false
},
"rules": {
"prettier/prettier": "error",

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 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
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,17 @@ https://github.com/broofa
```sh
$ npm i -P boddle
```

## 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.
2 changes: 0 additions & 2 deletions backbone-min.js

This file was deleted.

1 change: 0 additions & 1 deletion backbone-min.map

This file was deleted.

20 changes: 0 additions & 20 deletions backbone.js

This file was deleted.

Loading