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.
25 lines (20 loc) • 459 B
JavaScript
define('model/Todo', ['Backbone'], function(Backbone) {
'use strict';
/**
* @lends blackbox.web.model.Todo.prototype
*/
return Backbone.Model.extend({
/**
* @type String
* @description "/todos"
*/
urlRoot: '/todos',
/**
* @constructs
* @version 2.0
* @augments Backbone.Model
*/
initialize: function() {
}
});
});