Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Applied mxriverlynn#21
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Makovec committed Nov 13, 2015
1 parent ae3af6b commit f570ceb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions backbone.memento.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
// Documentation and Full License Available at:
// http://github.com/derickbailey/backbone.memento

(function(root, factory) {
// Set up Backbone-relational for the environment. Start with AMD.
if (typeof define === 'function' && define.amd) {
define(['exports', 'backbone', 'underscore'], factory);
}
// Next for Node.js or CommonJS.
else if (typeof exports !== 'undefined') {
factory(exports, require('backbone'), require('underscore'));
}
// Finally, as a browser global. Use `root` here as it references `window`.
else {
factory(root, root.Backbone, root._);
}
}(this, function(exports, Backbone, _) {

Backbone.Memento = (function(Backbone, _){
'use strict';

Expand Down Expand Up @@ -157,3 +172,4 @@ Backbone.Memento = (function(Backbone, _){

return Memento;
})(Backbone, _);
}));

0 comments on commit f570ceb

Please sign in to comment.