lib/linner/wrapper.rb in linner-0.4.4 vs lib/linner/wrapper.rb in linner-0.4.5
- old
+ new
@@ -1,8 +1,8 @@
module Linner
class Wrapper
WRAPPER =
- 'window.require.define({"%s":' +
+ 'this.require.define({"%s":' +
'function(exports, require, module){' +
'%s' +
";}});\n"
def self.wrap(name, content)