Browse files

Fixed syntax errors

  • Loading branch information...
1 parent 782bbd4 commit 6b4a81fd5c2e0db1993e996d260ab0a648e72a0f @joelvh committed Dec 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ObjectTemplate.coffee
View
4 lib/ObjectTemplate.coffee
@@ -1,8 +1,8 @@
# handle CommonJS/Node.js or browser
-sysmo ||= (require?) ? require('sysmo') : window.Sysmo
-TemplateConfig ||= (require?) ? require('./TemplateConfig') : window.json2json.TemplateConfig
+sysmo = require?('sysmo') || window?.Sysmo
+TemplateConfig = require?('./TemplateConfig') || window?.json2json.TemplateConfig
# class definition

0 comments on commit 6b4a81f

Please sign in to comment.