Skip to content

Commit

Permalink
Merge pull request #506 from ajaxorg/hotfix/lang
Browse files Browse the repository at this point in the history
Hopefully fixes insertion of null problem
  • Loading branch information
sergi committed Nov 25, 2011
2 parents 14b8753 + e93092d commit fa10e34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/ext/language/worker.js
Expand Up @@ -195,6 +195,7 @@ oop.inherits(LanguageWorker, Mirror);

this.switchFile = function(path, language, code) {
var oldPath = this.$path;
code = code || "";
this.$path = path;
this.$language = language;
this.cachedAst = null;
Expand Down

0 comments on commit fa10e34

Please sign in to comment.