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

Commit

Permalink
chore: fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli Skeggs committed Sep 8, 2020
1 parent 153dc41 commit 7d595e6
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 158 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/docs
90 changes: 0 additions & 90 deletions .eslintrc

This file was deleted.

76 changes: 76 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"extends": ["prettier", "plugin:prettier/recommended"],
"plugins": ["prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true
},
"globals": {
"Promise": false
},
"rules": {
"prettier/prettier": "error",

"block-scoped-var": "error",
"camelcase": "error",
"dot-notation": ["error", { "allowKeywords": false }],
"eqeqeq": ["error", "smart"],
"max-depth": ["warn", 4],
"max-params": ["warn", 5],
"new-cap": ["error", {"newIsCapExceptions": ["model"]}],
"no-alert": "error",
"no-caller": "error",
"no-catch-shadow": "error",
"no-console": "error",
"no-debugger": "error",
"no-delete-var": "error",
"no-div-regex": "warn",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-else-return": "warn",
"no-empty-character-class": "error",
"no-eval": "error",
"no-ex-assign": "error",
"no-extend-native": "error",
"no-extra-boolean-cast": "error",
"no-fallthrough": "error",
"no-func-assign": "error",
"no-implied-eval": "error",
"no-inner-declarations": "error",
"no-irregular-whitespace": "error",
"no-label-var": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-multi-str": "error",
"no-native-reassign": "error",
"no-negated-in-lhs": "warn",
"no-new-object": "error",
"no-new-wrappers": "error",
"no-obj-calls": "error",
"no-octal": "error",
"no-octal-escape": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-shadow": "error",
"no-spaced-func": "error",
"no-throw-literal": "error",
"no-undef": "error",
"no-undef-init": "error",
"no-unneeded-ternary": "error",
"no-unreachable": "error",
"no-unused-expressions": ["error", {"allowTernary": true, "allowShortCircuit": true}],
"no-var": "error",
"no-with": "error",
"prefer-const": "error",
"radix": "error",
"use-isnan": "error",
"valid-typeof": "error"
}
}
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"@mixmaxhq/prettier-config"
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ script:
notifications:
email: false
sudo: false
env:
global:
- NPM_CONFIG_PROGRESS="false"
- secure: G9oDQUXytNHni0wasGDXO3lQE/xuP9gd6VZ20kuh5FzVlqfY5L7JfYWki435nZ1z2yPD1QVAZi+1BCmCwnkTLVO9gB7cmDJDt1VzeHdCSOqCXGDAbOcq67/OO4FUa77sCQSDnqOOGVbiUPldaDl8G6uylk72Ll8b0pPwUWdRCM8=
- secure: dniSzTSxXzaSGYjW3+LiNesx/BtTWo6RHuMKm19MwNo/YJYJJ/1YSEH/9vCmlVzc00CqvJ5Khwu9XPzcDV4gkuNQFN1+QcgGI2heVUqac/jqlGF39VEH8Xc+H40MsRLkwgSIkadIPWj4wBbbzqyC9M+J/KjUPOhBXGtp+FARu0I=
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

25 changes: 8 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
## How to Open a Backbone.js Ticket

* Do not use tickets to ask for help with (debugging) your application. Ask on
the [mailing list](https://groups.google.com/forum/#!forum/backbonejs),
in the IRC channel (`#documentcloud` on Freenode), or if you understand your
specific problem, on [StackOverflow](http://stackoverflow.com/questions/tagged/backbone.js).
- Before you open a ticket or send a pull request,
[search](https://github.com/mixmaxhq/boddle/issues) for previous discussions
about the same feature or issue. Add to the earlier ticket if you find one.

* Before you open a ticket or send a pull request,
[search](https://github.com/jashkenas/backbone/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/).

* 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).

* Use the same coding style as the rest of the
[codebase](https://github.com/jashkenas/backbone/blob/master/backbone.js).

* In your pull request, do not add documentation or rebuild the minified
`backbone-min.js` file. We'll do that before cutting a new release.

* All pull requests should be made to the `master` branch.
- All pull requests should be made to the `master` branch.
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Copyright (c) 2010-2019 Jeremy Ashkenas, DocumentCloud

Copyright (C) 2020 Mixmax, Inc

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
Expand Down
40 changes: 13 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,20 @@
____ __ __
/\ _`\ /\ \ /\ \ __
\ \ \ \ \ __ ___\ \ \/'\\ \ \____ ___ ___ __ /\_\ ____
\ \ _ <' /'__`\ /'___\ \ , < \ \ '__`\ / __`\ /' _ `\ /'__`\ \/\ \ /',__\
\ \ \ \ \/\ \ \.\_/\ \__/\ \ \\`\\ \ \ \ \/\ \ \ \/\ \/\ \/\ __/ __ \ \ \/\__, `\
\ \____/\ \__/.\_\ \____\\ \_\ \_\ \_,__/\ \____/\ \_\ \_\ \____\/\_\_\ \ \/\____/
\/___/ \/__/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/_/\/_/\/____/\/_/\ \_\ \/___/
\ \____/
\/___/
(_'_______________________________________________________________________________'_)
(_.———————————————————————————————————————————————————————————————————————————————._)
# boddle


Backbone supplies structure to JavaScript-heavy applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.

For Docs, License, Tests, pre-packed downloads, and everything else, really, see:
http://backbonejs.org
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/jashkenas/backbone/issues

For questions on working with Backbone or general discussions:
https://groups.google.com/forum/#!forum/backbonejs,
http://stackoverflow.com/questions/tagged/backbone.js, or
https://gitter.im/jashkenas/backbone
https://github.com/mixmaxh/boddle/issues

Backbone is an open-sourced component of DocumentCloud:
https://github.com/documentcloud

Many thanks to our contributors:
Many thanks to Backbone's contributors:
https://github.com/jashkenas/backbone/graphs/contributors

Special thanks to Robert Kieffer for the original philosophy behind Backbone.
Special thanks to Robert Kieffer for the original philosophy behind Backbone (and, indirectly,
boddle).
https://github.com/broofa

## install

```sh
$ npm i -P boddle
```
8 changes: 0 additions & 8 deletions bower.json

This file was deleted.

18 changes: 8 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "backbone",
"description": "Give your JS App some Backbone with Models, Views, Collections, and Events.",
"url": "http://backbonejs.org",
"name": "boddle",
"description": "Backbone-inspired data layer, aiming at majority API compatibility with modern promises and no underscore/jquery dependency.",
"url": "https://github.com/mixmaxhq/boddle",
"keywords": [
"backbone",
"model",
"view",
"controller",
"router",
"server",
"collection",
"client",
"browser"
],
Expand All @@ -30,14 +28,14 @@
"test": "karma start && coffee test/model.coffee && npm run lint",
"build": "uglifyjs backbone.js --mangle --source-map backbone-min.map -o backbone-min.js",
"doc": "docco backbone.js && docco examples/todos/todos.js examples/backbone.localStorage.js",
"lint": "eslint backbone.js test/*.js"
"lint": "eslint ."
},
"main": "backbone.js",
"version": "1.4.0",
"version": "2.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jashkenas/backbone.git"
"url": "https://github.com/mixmaxhq/boddle.git"
},
"files": [
"backbone.js",
Expand Down

0 comments on commit 7d595e6

Please sign in to comment.