• Jump To … +
    modules/Behavior.js modules/Cell.js modules/Collection.js modules/Events.js modules/FormModel.js modules/FormView.js modules/ListView.js modules/Model.js modules/NestedCell.js modules/NestedModel.js modules/Router.js modules/ServiceCell.js modules/View.js modules/behaviors/DataBehavior.js modules/configure.js modules/handlebarsUtils.js modules/history.js modules/mixins/cacheMixin.js modules/mixins/cellMixin.js modules/mixins/loadingMixin.js modules/mixins/modelMixin.js modules/mixins/pollingMixin.js modules/registry.js modules/stickitUtils.js modules/templateRenderer.js modules/torso.js modules/validation.js
  • history.js

  • ¶
    /**
     * The backbone History reference
     * @external Backbone-History
     * @extends external:Backbone-Events
     * @see {@link http://backbonejs.org/#History|Backbone.History}
     */
    (function(root, factory) {
      if (typeof define === 'function' && define.amd) {
        define(['backbone'], factory);
      } else if (typeof exports === 'object') {
        module.exports = factory(require('backbone'));
      } else {
        root.Torso = root.Torso || {};
        root.Torso.history = factory(root.Backbone);
      }
    }(this, function(Backbone) {
      'use strict';
    
      /**
       * Backbone's history object.
       *
       * @class history
       * @extends external:Backbone-History
       *
       * @author kent.willis@vecna.com
       *
       * @see <a href="../annotated/modules/history.html">history Annotated Source</a>
       */
      return Backbone.history;
    }));