Last active
August 29, 2015 14:07
-
-
Save jaceju/bd83d5d36ea732f15a12 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global define */ | |
'use strict'; | |
(function(root, factory) { | |
// Universal module definition | |
if (typeof define === 'function' && define.amd) { | |
define([ | |
'react', | |
'backbone', | |
'underscore' | |
], factory); | |
} else if (typeof module !== 'undefined' && module.exports) { | |
module.exports = factory( | |
require('react'), | |
require('backbone'), | |
require('underscore') | |
); | |
} else { | |
root.WebApp = factory( | |
root.Backbone, | |
root.React, | |
root._ | |
); | |
} | |
}(this, function(Backbone, React, _) { | |
var WebApp = {}; | |
return WebApp; | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment