-
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.
- Loading branch information
1 parent
846e628
commit efe41a7
Showing
199 changed files
with
22,982 additions
and
2,178 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,10 +1,6 @@ | ||
{ | ||
"presets": [ | ||
"@babel/env" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-runtime" | ||
], | ||
"sourceMaps": "inline", | ||
"retainLines": true | ||
"presets": ["es2015"], | ||
"plugins":[ | ||
["babel-plugin-root-import"] | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
root = true; | ||
|
||
[*] | ||
# Ensure there's no lingering whitespace | ||
trim_trailing_whitespace = false | ||
# Ensure a newline at the end of each file | ||
insert_final_newline = false | ||
|
||
[*.js] | ||
# Unix-style newlines | ||
# end_of_line = lf | ||
# charset = utf-8 | ||
# indent_style = tab | ||
# indent_size = 2 |
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,70 +1,18 @@ | ||
{ | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 8, | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"Promise": true | ||
}, | ||
"rules": { | ||
"array-bracket-spacing": [ 2, "never" ], | ||
"block-scoped-var": 2, | ||
"brace-style": [ 2, "1tbs", { "allowSingleLine": true } ], | ||
"camelcase": [ 2, { "properties": "always" } ], | ||
"curly": [ 2, "multi-line" ], | ||
"dot-notation": [ 2, { "allowKeywords": true } ], | ||
"eol-last": 2, | ||
"eqeqeq": 0, | ||
"guard-for-in": 2, | ||
"indent": [ 2, "tab", { "SwitchCase": 1 } ], | ||
"key-spacing": [ 2, | ||
{ | ||
"beforeColon": false, | ||
"afterColon": true | ||
} | ||
], | ||
"keyword-spacing": [ 2 ], | ||
"new-cap": 2, | ||
"no-bitwise": 2, | ||
"no-caller": 2, | ||
"no-eval": 2, | ||
"no-extend-native": 2, | ||
"no-iterator": 2, | ||
"no-loop-func": 2, | ||
"no-multi-spaces": "error", | ||
"no-multi-str": 2, | ||
"no-multiple-empty-lines": 2, | ||
"no-new": 2, | ||
"no-proto": 2, | ||
"no-script-url": 2, | ||
"no-sequences": 2, | ||
"no-shadow": 2, | ||
"no-spaced-func": 2, | ||
"no-trailing-spaces": 2, | ||
"no-unused-vars": [ 1, { "args": "none" } ], | ||
"no-var": 2, | ||
"no-with": 2, | ||
"object-shorthand": [ 2, "methods" ], | ||
"operator-linebreak": [ 0, "after" ], | ||
"quotes": [ 2, "single" ], | ||
"semi": [ 0, "never" ], | ||
"space-before-blocks": [ 2, "always" ], | ||
"space-before-function-paren": [ 2, "never" ], | ||
"space-in-parens": [ 2, "never" ], | ||
"space-infix-ops": 2, | ||
"space-unary-ops": [ 2, | ||
{ | ||
"nonwords": false, | ||
"overrides": {} | ||
} | ||
], | ||
"strict": 0, | ||
"valid-jsdoc": 2, | ||
"wrap-iife": [ 2, "inside" ] | ||
} | ||
} | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"camelcase": [ 2, { "properties": "always" } ] | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"define":true, | ||
"document": true, | ||
"window": true | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: node_js | ||
node_js: | ||
- "4" | ||
- "5" | ||
- "stable" | ||
sudo: false | ||
script: "gulp coverage" | ||
after_success: | ||
- npm install -g codeclimate-test-reporter | ||
- codeclimate-test-reporter < coverage/lcov.info |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### [0.0.1](https://github.com/taburetkin/marionette.yat/releases/tag/v0.0.1) | ||
|
||
- The first release |
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 |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# marionette.yat | ||
|
||
[![Join the chat at https://gitter.im/marionette-yat/Lobby](https://badges.gitter.im/marionette-yat/Lobby.svg)](https://gitter.im/marionette-yat/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
|
||
# deprecated. check out v2 | ||
|
||
The goal of Marionette Yet Another Toolkit is | ||
* allow to make things via mixins. | ||
* extend default functionality with some useful things | ||
|
||
Simple App with pages, modals*, popovers*, and common ui*. | ||
|
||
marked with asterisk is not yet implemented. | ||
|
||
|
||
## Examples | ||
* [Page and PageManager](https://codepen.io/dimatabu/full/opGPoQ) - simple application with pages. | ||
* [sort CollectionView by drag'n'drop](https://codepen.io/dimatabu/pen/JMaZXP) | ||
|
||
## marionette.yat content | ||
* [behaviors](./src/behaviors) | ||
* [behavior](/docs/behaviors/behavior.md) | ||
* [draggable](/docs/behaviors/draggable.md) | ||
* droppable | ||
* [dynamic-class](/docs/behaviors/dynamic-class.md) | ||
* [form-to-hash](/docs/behaviors/form-to-hash.md) | ||
* [functions](./src/functions) | ||
* [common](./src/functions/common) | ||
* [flatten-unflatten](./src/functions/common/flatten-unflatten) | ||
* [flatten-object](/docs/functions/common/flatten-unflatten/flatten-object.md) | ||
* [unflatten-object](/docs/functions/common/flatten-unflatten/unflatten-object.md) | ||
* [set-get-by-path](./src/functions/common/set-get-by-path) | ||
* [get-by-path](/docs/functions/common/set-get-by-path/get-by-path.md) | ||
* [set-by-path](/docs/functions/common/set-get-by-path/set-by-path.md) | ||
* [get-label](/docs/functions/common/get-label.md) | ||
* [get-name](/docs/functions/common/get-name.md) | ||
* [get-value](/docs/functions/common/get-value.md) | ||
* is-view | ||
* [unwrap](/docs/functions/common/unwrap.md) | ||
* [wrap](/docs/functions/common/wrap.md) | ||
* [view](./src/functions/view) | ||
* [compare-ab](/docs/functions/view/compare-ab.md) | ||
* [view-comparator](/docs/functions/view/view-comparator.md) | ||
* [helpers](./src/helpers) | ||
* [isKnownCtor](/docs/helpers/isKnownCtor.md) | ||
* [mix](/docs/helpers/mix.md) | ||
* [mixins](./src/mixins) | ||
* [childrenable](/docs/mixins/childrenable.md) | ||
* [get-name-label](/docs/mixins/get-name-label.md) | ||
* [get-option-property](/docs/mixins/get-option-property.md) | ||
* global-template-context | ||
* [radioable](/docs/mixins/radioable.md) | ||
* [startable](/docs/mixins/startable.md) | ||
* [stateable](/docs/mixins/stateable.md) | ||
* [models](./src/models) | ||
* collection | ||
* link | ||
* model | ||
* [singletons](./src/singletons) | ||
* [modals](./src/singletons/modals) | ||
* config | ||
* modalView | ||
* identity | ||
* template-context | ||
* [YatApp](/docs/YatApp.md) | ||
* YatCollectionGroups | ||
* YatCollectionView | ||
* YatConfig | ||
* [YatError](/docs/YatError.md) | ||
* [YatObject](/docs/YatObject.md) | ||
* [YatPage](/docs/YatPage.md) | ||
* [YatPageManager](/docs/YatPageManager.md) | ||
* [YatRouter](/docs/YatRouter.md) | ||
* YatView | ||
|
||
[![Travis build status](http://img.shields.io/travis/taburetkin/marionette.yat.svg?style=flat)](https://travis-ci.org/taburetkin/marionette.yat) | ||
[![Code Climate](https://codeclimate.com/github/taburetkin/marionette.yat/badges/gpa.svg)](https://codeclimate.com/github/taburetkin/marionette.yat) | ||
[![Test Coverage](https://codeclimate.com/github/taburetkin/marionette.yat/badges/coverage.svg)](https://codeclimate.com/github/taburetkin/marionette.yat) | ||
[![Dependency Status](https://david-dm.org/taburetkin/marionette.yat.svg)](https://david-dm.org/taburetkin/marionette.yat) | ||
[![devDependency Status](https://david-dm.org/taburetkin/marionette.yat/dev-status.svg)](https://david-dm.org/taburetkin/marionette.yat#info=devDependencies) |
Oops, something went wrong.