Created
July 5, 2013 10:23
-
-
Save justinvdm/5933604 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/go/base/static/js/src/go.js b/go/base/static/js/src/go.js | |
index 444d2e9..04b9708 100644 | |
--- a/go/base/static/js/src/go.js | |
+++ b/go/base/static/js/src/go.js | |
@@ -10,4 +10,4 @@ | |
// Models created automatically when added to Backbone.Collection won't be | |
// recognised as instances of Backbone.Model, so we need to change this. | |
Backbone.Collection.prototype.model = Backbone.Model; | |
-})(window.go); | |
+})(window.go = window.go || {}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍