├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bower.json ├── component.json ├── dist ├── rivets.bundled.min.js ├── rivets.js └── rivets.min.js ├── doc.sh ├── docs ├── CNAME ├── _layout.jade ├── css │ ├── bootstrap.css │ ├── responsive.styl │ ├── screen.styl │ ├── syntax.css │ └── type.css ├── docs │ ├── guide │ │ ├── _data.json │ │ ├── _sections │ │ │ ├── adapters.md │ │ │ ├── adapters │ │ │ │ ├── creating.md │ │ │ │ └── default.md │ │ │ ├── binders.md │ │ │ ├── binders │ │ │ │ ├── api.md │ │ │ │ ├── one-way.md │ │ │ │ └── two-way.md │ │ │ ├── components.md │ │ │ ├── computed-properties.md │ │ │ ├── formatters.md │ │ │ ├── formatters │ │ │ │ ├── arguments.md │ │ │ │ ├── one-way.md │ │ │ │ └── two-way.md │ │ │ ├── functions-call.md │ │ │ ├── index.md │ │ │ ├── install.md │ │ │ ├── iteration │ │ │ │ ├── index.md │ │ │ │ └── iteration.md │ │ │ └── usage │ │ │ │ ├── binding.md │ │ │ │ ├── configuring.md │ │ │ │ └── templates.md │ │ └── index.jade │ └── reference │ │ ├── _binders │ │ ├── [attribute].md │ │ ├── checked.md │ │ ├── class-[classname].md │ │ ├── disabled.md │ │ ├── each-[item].md │ │ ├── enabled.md │ │ ├── hide.md │ │ ├── html.md │ │ ├── if.md │ │ ├── on-[event].md │ │ ├── show.md │ │ ├── text.md │ │ ├── unchecked.md │ │ ├── unless.md │ │ └── value.md │ │ ├── _data.json │ │ └── index.jade ├── fonts │ ├── entypo-social │ │ ├── entypo-social.eot │ │ ├── entypo-social.svg │ │ ├── entypo-social.ttf │ │ └── entypo-social.woff │ ├── entypo │ │ ├── entypo.eot │ │ ├── entypo.svg │ │ ├── entypo.ttf │ │ └── entypo.woff │ └── proxima-nova │ │ ├── ProximaNova-Black-webfont.eot │ │ ├── ProximaNova-Black-webfont.svg │ │ ├── ProximaNova-Black-webfont.ttf │ │ ├── ProximaNova-Black-webfont.woff │ │ ├── ProximaNova-BlackIt-webfont.eot │ │ ├── ProximaNova-BlackIt-webfont.svg │ │ ├── ProximaNova-BlackIt-webfont.ttf │ │ ├── ProximaNova-BlackIt-webfont.woff │ │ ├── ProximaNova-Bold-webfont.eot │ │ ├── ProximaNova-Bold-webfont.svg │ │ ├── ProximaNova-Bold-webfont.ttf │ │ ├── ProximaNova-Bold-webfont.woff │ │ ├── ProximaNova-BoldIt-webfont.eot │ │ ├── ProximaNova-BoldIt-webfont.svg │ │ ├── ProximaNova-BoldIt-webfont.ttf │ │ ├── ProximaNova-BoldIt-webfont.woff │ │ ├── ProximaNova-Light-webfont.eot │ │ ├── ProximaNova-Light-webfont.svg │ │ ├── ProximaNova-Light-webfont.ttf │ │ ├── ProximaNova-Light-webfont.woff │ │ ├── ProximaNova-LightIt-webfont.eot │ │ ├── ProximaNova-LightIt-webfont.svg │ │ ├── ProximaNova-LightIt-webfont.ttf │ │ ├── ProximaNova-LightIt-webfont.woff │ │ ├── ProximaNova-Reg-webfont.eot │ │ ├── ProximaNova-Reg-webfont.svg │ │ ├── ProximaNova-Reg-webfont.ttf │ │ ├── ProximaNova-Reg-webfont.woff │ │ ├── ProximaNova-RegIt-webfont.eot │ │ ├── ProximaNova-RegIt-webfont.svg │ │ ├── ProximaNova-RegIt-webfont.ttf │ │ ├── ProximaNova-RegIt-webfont.woff │ │ ├── ProximaNova-Sbold-webfont.eot │ │ ├── ProximaNova-Sbold-webfont.svg │ │ ├── ProximaNova-Sbold-webfont.ttf │ │ ├── ProximaNova-Sbold-webfont.woff │ │ ├── ProximaNova-SboldIt-webfont.eot │ │ ├── ProximaNova-SboldIt-webfont.svg │ │ ├── ProximaNova-SboldIt-webfont.ttf │ │ ├── ProximaNova-SboldIt-webfont.woff │ │ ├── ProximaNova-Thin-webfont.eot │ │ ├── ProximaNova-Thin-webfont.svg │ │ ├── ProximaNova-Thin-webfont.ttf │ │ ├── ProximaNova-Thin-webfont.woff │ │ ├── ProximaNova-ThinIt-webfont.eot │ │ ├── ProximaNova-ThinIt-webfont.svg │ │ ├── ProximaNova-ThinIt-webfont.ttf │ │ ├── ProximaNova-ThinIt-webfont.woff │ │ ├── ProximaNova-Xbold-webfont.eot │ │ ├── ProximaNova-Xbold-webfont.svg │ │ ├── ProximaNova-Xbold-webfont.ttf │ │ ├── ProximaNova-Xbold-webfont.woff │ │ ├── ProximaNova-XboldIt-webfont.eot │ │ ├── ProximaNova-XboldIt-webfont.svg │ │ ├── ProximaNova-XboldIt-webfont.ttf │ │ └── ProximaNova-XboldIt-webfont.woff ├── img │ ├── attendease.png │ ├── dell.png │ ├── disco.png │ ├── kin.png │ ├── mikeric.jpg │ └── vs.png ├── index.jade └── js │ ├── app.js │ ├── bootstrap.min.js │ ├── highlight.js │ └── jquery.js ├── gulpfile.js ├── package.json ├── spec ├── lib │ └── mock.data.js ├── rivets │ ├── binders.js │ ├── binding.js │ ├── component_binding.js │ ├── formatters.js │ ├── functional.js │ ├── routines.js │ └── text_template_parser.js └── runner.html └── src ├── adapter.coffee ├── binders.coffee ├── bindings.coffee ├── export.coffee ├── formatters.coffee ├── parsers.coffee ├── rivets.coffee ├── util.coffee └── view.coffee /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.swp 3 | node_modules/**/* 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # 0.9.6 2 | 3 | **No changes (version bump due to error in publishing 0.9.5)** 4 | 5 | # 0.9.5 6 | 7 | ### Changes 8 | 9 | - Use global object `$` (jQuery or jQuery alternative) if available, fixing [#646](https://github.com/mikeric/rivets/issues/646) 10 | 11 | # 0.9.4 12 | 13 | ### Changes 14 | 15 | - Updated sightglass to `v0.2.6`, fixing [#572](https://github.com/mikeric/rivets/issues/572) 16 | 17 | # 0.9.2 18 | 19 | ### Changes 20 | 21 | - Fix issue when resetting a model [#644](https://github.com/mikeric/rivets/issues/644) 22 | - Fix publish function in two-way formatters [#649](https://github.com/mikeric/rivets/issues/649) 23 | - Fix array binding [#650](https://github.com/mikeric/rivets/issues/650) 24 | - Fix observers on prototype functions [#572](https://github.com/mikeric/rivets/issues/572) 25 | 26 | # 0.9.1 27 | 28 | ### Changes 29 | 30 | - Fix bug in expression with multiple strings [#620](https://github.com/mikeric/rivets/issues/620) 31 | 32 | # 0.9.0 33 | 34 | ### Changes 35 | 36 | - Fix binders which received 0 instead of undefined when HTML attributes were empty [#567](https://github.com/mikeric/rivets/issues/567) 37 | - Now functions are not executed by Rivets in expressions. To call the function you need to use the `call` formatter. See documentation [here](http://rivetsjs.com/docs/guide/#functions-call) [#571](https://github.com/mikeric/rivets/issues/571) 38 | - Support for nested rv-each with an index for each iteration. Index names can be configured, see documentation [here](http://rivetsjs.com/docs/guide/#usage-configuring) [#551](https://github.com/mikeric/rivets/issues/551) 39 | - Support for pipes in quoted arguments [#432](https://github.com/mikeric/rivets/issues/432) 40 | - Support for constant string in component HTML attributes [#478](https://github.com/mikeric/rivets/issues/478) 41 | - Fix rebind bug when a templated used nested `rv-if` binders [#611](https://github.com/mikeric/rivets/issues/611) 42 | 43 | ### Upgrading from 0.8 44 | - Since 0.9 Rivets will not execute functions by default. This will allow passing arguments to function with the `call` formatter. 45 | 46 | - Calling function in 0.8 47 | ``` 48 | { item.myFunction } 49 | ``` 50 | - Calling function in 0.9 51 | ``` 52 | { item.myFunction | call} 53 | ``` 54 | - Calling function in 0.9 with arguments 55 | ``` 56 | { item.myFunction | call myArgument 'argument as string'} 57 | ``` 58 | 59 | - You can force function executions to have your application work in `0.9` without using the `call` formatter. This is done with the configuration 60 | ``` 61 | rivets.configure({ 62 | // Since rivets 0.9 functions are not automatically executed in expressions. If you need backward compatibilty, set this parameter to true 63 | executeFunctions: true 64 | }); 65 | ``` 66 | 67 | - Using multiple indexes in nested `rv-each`. Since `0.9` rivets allows to have a specific index variable for each iteration. 68 | ``` 69 |
Current bid: { auction.currentBid | money }
7 | 8 | 11 |{ user.name } is { user.age } years old.
11 | ``` 12 | -------------------------------------------------------------------------------- /docs/docs/reference/_binders/unchecked.md: -------------------------------------------------------------------------------- 1 | Unchecks the input when the value evaluates to true and checks the input when the value evaluates to false. This also sets the bound object's value to false/true when the user checks/unchecks the input (two-way). 2 | 3 | *Use this instead of value when binding to checkboxes or radio buttons.* 4 | 5 | ```html 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /docs/docs/reference/_binders/unless.md: -------------------------------------------------------------------------------- 1 | Removes and unbinds the element as well as it's child nodes when the value evaluates to true and inserts / binds the element when the value evaluates to false. 2 | 3 | ```html 4 | 5 | ``` 6 | -------------------------------------------------------------------------------- /docs/docs/reference/_binders/value.md: -------------------------------------------------------------------------------- 1 | Sets the element's value when the attribute changes and sets the bound object's value when the input element changes from user input (two-way). 2 | 3 | ```html 4 | 5 | ``` 6 | -------------------------------------------------------------------------------- /docs/docs/reference/_data.json: -------------------------------------------------------------------------------- 1 | [ 2 | "text", 3 | "html", 4 | "show", 5 | "hide", 6 | "enabled", 7 | "disabled", 8 | "if", 9 | "unless", 10 | "value", 11 | "checked", 12 | "unchecked", 13 | "on-[event]", 14 | "each-[item]", 15 | "class-[classname]", 16 | "[attribute]" 17 | ] 18 | -------------------------------------------------------------------------------- /docs/docs/reference/index.jade: -------------------------------------------------------------------------------- 1 | section.docs 2 | .container 3 | .row 4 | article.col.col-md-9 5 | for binder in public.docs.reference._data 6 | h2(id= binder)= binder 7 | != partial('_binders/' + binder) 8 | 9 | aside.col.col-md-3.hidden-sm.hidden-xs 10 | .pull-right 11 | nav#nav(data-spy="affix", data-offset-top="145") 12 | ul.nav 13 | for binder in public.docs.reference._data 14 | li 15 | a(href= '#' + binder) 16 | strong= binder 17 | -------------------------------------------------------------------------------- /docs/fonts/entypo-social/entypo-social.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/entypo-social/entypo-social.eot -------------------------------------------------------------------------------- /docs/fonts/entypo-social/entypo-social.svg: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /docs/fonts/entypo-social/entypo-social.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/entypo-social/entypo-social.ttf -------------------------------------------------------------------------------- /docs/fonts/entypo-social/entypo-social.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/entypo-social/entypo-social.woff -------------------------------------------------------------------------------- /docs/fonts/entypo/entypo.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/entypo/entypo.eot -------------------------------------------------------------------------------- /docs/fonts/entypo/entypo.svg: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /docs/fonts/entypo/entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/entypo/entypo.ttf -------------------------------------------------------------------------------- /docs/fonts/entypo/entypo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/entypo/entypo.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Black-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Black-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Black-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Black-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Black-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Black-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-BlackIt-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-BlackIt-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-BlackIt-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-BlackIt-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-BlackIt-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-BlackIt-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Bold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Bold-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-BoldIt-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-BoldIt-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-BoldIt-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-BoldIt-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-BoldIt-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-BoldIt-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Light-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Light-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Light-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Light-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-LightIt-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-LightIt-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-LightIt-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-LightIt-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-LightIt-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-LightIt-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Reg-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Reg-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Reg-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Reg-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Reg-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Reg-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-RegIt-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-RegIt-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-RegIt-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-RegIt-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-RegIt-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-RegIt-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Sbold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Sbold-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Sbold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Sbold-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Sbold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Sbold-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-SboldIt-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-SboldIt-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-SboldIt-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-SboldIt-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-SboldIt-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-SboldIt-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Thin-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Thin-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Thin-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Thin-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Thin-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Thin-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-ThinIt-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-ThinIt-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-ThinIt-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-ThinIt-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-ThinIt-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-ThinIt-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Xbold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Xbold-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Xbold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Xbold-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-Xbold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-Xbold-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-XboldIt-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-XboldIt-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-XboldIt-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-XboldIt-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/proxima-nova/ProximaNova-XboldIt-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/fonts/proxima-nova/ProximaNova-XboldIt-webfont.woff -------------------------------------------------------------------------------- /docs/img/attendease.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/img/attendease.png -------------------------------------------------------------------------------- /docs/img/dell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/img/dell.png -------------------------------------------------------------------------------- /docs/img/disco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/img/disco.png -------------------------------------------------------------------------------- /docs/img/kin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/img/kin.png -------------------------------------------------------------------------------- /docs/img/mikeric.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/img/mikeric.jpg -------------------------------------------------------------------------------- /docs/img/vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikeric/rivets/7e05257b99796ddd7f395a86fe0340d55ef2181a/docs/img/vs.png -------------------------------------------------------------------------------- /docs/index.jade: -------------------------------------------------------------------------------- 1 | section.intro 2 | .container 3 | .row 4 | .col.col-sm-12 5 | p.blurb Lightweight and powerful data binding + templating solution for building modern web applications. 6 | 7 | a.btn.btn-clear(href="https://raw.githubusercontent.com/mikeric/rivets/v0.9.4/dist/rivets.bundled.min.js") 8 | i 📥 9 | span Download 0.9.4 10 | 11 | p 6.2kb minified and gzipped (includes dependencies) 12 | 13 | section.agnostic 14 | .container 15 | .row 16 | .col.col-sm-12 17 | .separator 18 | h5 WHY RIVETS.JS? 19 | 20 | .row 21 | .col.col-md-6 22 | h3 Agnostic 23 | p Rivets.js is completely agnostic about your model / controller layer and works well with existing libraries that employ an event-driven model such as Backbone.js and Stapes.js. It also ships with built-in support for plain JavaScript objects, so you can use Rivets.js right away without needing a separate model or observables library. 24 | 25 | .col.col-md-6 26 | h3 Configurable 27 | p From the event handlers to the template delimiters, the attribute prefixes to the preloading of data. It's all configurable and tunable at the application level as well as locally to individual views. 28 | 29 | section.highlights 30 | .container 31 | .row 32 | .col.col-sm-12 33 | .separator 34 | h5 MOVING PARTS 35 | 36 | .row 37 | .col.col-sm-6 38 | h3 Binders 39 | 40 | span 41 | = '' 44 | 45 | p Describe how your underlying data is reflected in the DOM and vice-versa. All binders create a binding that is automatically updated when model data changes or when the user interacts with the DOM. 46 | 47 | .col.col-sm-6 48 | h3 Components 49 | 50 | span 51 | = '<' 52 | span.highlighted toggle 53 | = ' on="item.complete">' 54 | 55 | p Define reusable views, instantiable as a custom element. Each component gets its own isolated, augmentable scope. 56 | 57 | .row 58 | .col.col-sm-6 59 | h3 Formatters 60 | 61 | span 62 | = '{ item.due | ' 63 | span.highlighted fromNow 64 | = ' | ' 65 | span.highlighted duration 66 | = ' }' 67 | 68 | p Format dates, numbers, currencies and implement logic gates and conversions. Formatters work in a similar fashion to the Unix pipeline, so you can stack as many of them together as you like. 69 | 70 | .col.col-sm-6 71 | h3 Adapters via 72 | .logotype.sg 73 | a(href="https://github.com/mikeric/sightglass") SIGHTGLASS 74 | 75 | span 76 | = '