Commit 7a6aa420 authored by Romain Casati's avatar Romain Casati
Browse files

Named module in 'define'.

parent b860dc59
(function (root, factory) {
// requirejs?
if (typeof define === 'function') {
define(['module'], factory);
define('BasthonBase', ['module'], factory);
// TypeScript?
} else if (typeof exports === 'object') {
module.exports = factory();
......
(function (root, factory) {
// requirejs?
if (typeof define === 'function') {
define(['./basthon_python'], factory);
define('BasthonGoodies', ['Basthon'], factory);
// TypeScript?
} else if (typeof exports === 'object') {
module.exports = factory();
......
(function (root, factory) {
// requirejs?
if (typeof define === 'function') {
define(['./basthon_base'], factory);
define('Basthon', ['BasthonBase'], factory);
// TypeScript?
} else if (typeof exports === 'object') {
module.exports = factory();
......
(function (root, factory) {
// requirejs?
if (typeof define === 'function') {
define(['./basthon_base'], factory);
define('Basthon', ['BasthonBase'], factory);
// TypeScript?
} else if (typeof exports === 'object') {
module.exports = factory();
......
(function (root, factory) {
// requirejs?
if (typeof define === 'function') {
define(['./basthon_base'], factory);
define('Basthon', ['BasthonBase'], factory);
// TypeScript?
} else if (typeof exports === 'object') {
module.exports = factory();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment