UNPKG

jetfuel-blackbox

Version:

Currently, BlackBox is a boilerplate client-side application framework, built on top of the JetFuel build system and Grunt, Backbone, RequireJS, JetRunner unit test server (Mocha BDD/TDD test framework + PhantomJS + SauceLabs cloud integration), Dust (and Plate Django port) for templating (both client and server-side), Sass, Express dynamic web server, etc. BlackBox is the template used for JetFuel's basic `init` command.

31 lines (25 loc) 609 B
define('collection/Todos', ['Backbone', 'model/Todo'], function(Backbone, Todo) { 'use strict'; /** * @lends blackbox.web.collection.Todos.prototype */ return Backbone.Collection.extend({ /** * @type Function * @see blackbox.web.model.Todo */ model: Todo, /** * @type String * @description "/todos" */ url: '/todos', /** * @constructs * @version 2.0 * @augments Backbone.Collection */ initialize: function() { } }); });