use proper AMD style

This commit is contained in:
Fabian Jakobs 2011-02-21 12:41:48 +01:00
commit 8c06c538ee
3 changed files with 20 additions and 9 deletions

View file

@ -44,7 +44,7 @@
(function() {
var _define = function(module, payload) {
var _define = function(module, deps, payload) {
if (typeof module !== 'string') {
if (_define.original)
_define.original.apply(window, arguments);