UNPKG

backbone.select

Version:

Selecting Backbone models; handling selections in Backbone collections.

58 lines (48 loc) 2.29 kB
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Backbone.Select demos and memory leak test</title> <!-- ATTN Foundation loaded without JS - stay clear of JS-driven widgets, or add the JS setup --> <link rel="stylesheet" href="bower_demo_components/foundation/css/normalize.css"> <link rel="stylesheet" href="bower_demo_components/foundation/css/foundation.css"> <link rel="stylesheet" href="common.css"> <link rel="stylesheet" href="demo.css"> </head> <body> <!-- check that 'bower install' has been run in the demo dir if bower.json isn't empty --> <script src="bower-check.js"></script> <!-- body content here... --> <section id="header"> <h1 class="row">Backbone.Select Demos</h1> </section> <section> <div class="row"> <ul> <li><a href="amd/">General demo, with model sharing (AMD)</a></li> </ul> <ul> <li><a href="amd/trailing.html">Custom label demo for a Select.One collection (AMD)</a></li> <li><a href="amd/baskets.html">Custom label demo for a Select.Many collection (AMD)</a></li> </ul> <ul> <li><a href="amd/focus-label.html">Focusing on one selected item in a Select.Many collection, using custom labels (AMD)</a></li> <li><a href="amd/focus-exclusive.html">Focusing on one selected item in a Select.Many collection, using the <code>exclusive</code> option (AMD)</a></li> </ul> <ul> <li><a href="memtest/">Memory leak test</a></li> </ul> </div> </section> <!-- libraries --><!-- edit and replace with your project libraries as needed --> <script src="bower_demo_components/jquery/dist/jquery.js"></script> <script src="../bower_components/underscore/underscore.js"></script> <script src="../bower_components/backbone/backbone.js"></script> <!-- include project source files here... --> <script src="../src/backbone.select.js"></script> <!-- demo js here... --> <script src="demo.js"></script> </body> </html>