corrade-nucleus-nucleons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /**
2 * Expose the final class.
3 * @type Function
4 */
5  
6 if (typeof define === 'function' && define.amd) {
7 // AMD/requirejs: Define the module
8 define(function() {
9 return formToObject;
10 });
11 } else if (typeof module === 'object' && module.exports) {
12 module.exports = formToObject;
13 } else {
14 // Browser: Expose to window
15 window.formToObject = formToObject;
16 }