From 09ab91d0a0e214a6e3a15b0a32a446642be9f64d Mon Sep 17 00:00:00 2001 From: yaoazhen Date: Wed, 27 Nov 2013 11:50:00 +0800 Subject: [PATCH] remove module name --- src/Flow.js | 4 ++-- src/Flow_underscore.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Flow.js b/src/Flow.js index 0c1ca95..6c2e6e5 100644 --- a/src/Flow.js +++ b/src/Flow.js @@ -1,7 +1,7 @@ ; (function (define) { - define('Flow', function (require, exports) { + define(function (require, exports) { //If have dependencies, get them here var _ = require('underscore'); @@ -398,7 +398,7 @@ ) ; -})(typeof define === 'function' && define.amd ? define : function (id, factory) { +})(typeof define === 'function' && define.amd ? define : function (factory) { if (typeof exports !== 'undefined') { //commonjs factory(require, exports); diff --git a/src/Flow_underscore.js b/src/Flow_underscore.js index c6bcf71..6222cef 100644 --- a/src/Flow_underscore.js +++ b/src/Flow_underscore.js @@ -1,7 +1,7 @@ ; (function (define) { - define('Flow', function (require, exports) { + define(function (require, exports) { //If have dependencies, get them here var _ = require('underscore'); @@ -321,7 +321,7 @@ ) ; -})(typeof define === 'function' && define.amd ? define : function (id, factory) { +})(typeof define === 'function' && define.amd ? define : function (factory) { if (typeof exports !== 'undefined') { //commonjs factory(require, exports);