Permalink
Browse files

fixed #1080 cc.Loader

  • Loading branch information...
ShengxiangChen committed Sep 18, 2012
1 parent cd0eaee commit 528275521efc8100cac99123a8aebfb980a4410c
Showing with 3 additions and 3 deletions.
  1. +3 −3 cocos2d/platform/CCSAXParser.js
@@ -53,11 +53,11 @@ cc.SAXParser = cc.Class.extend(/** @lends cc.SAXParser# */{
this.xmlDoc.loadXML(textxml);
}
if (this.xmlDoc == null) {
- cc.log("xml " + this.xmlDoc + " not found!");
+ cc.log("cocos2d:xml " + this.xmlDoc + " not found!");
}
var plist = this.xmlDoc.documentElement;
if (plist.tagName != 'plist') {
- throw "Not a plist file"
+ throw "cocos2d:Not a plist file"
}
// Get first real node
var node = null;
@@ -89,7 +89,7 @@ cc.SAXParser = cc.Class.extend(/** @lends cc.SAXParser# */{
this.xmlDoc.loadXML(textxml);
}
if (this.xmlDoc == null) {
- cc.log("xml " + this.xmlDoc + " not found!");
+ cc.log("cocos2d:xml " + this.xmlDoc + " not found!");
}
return this.xmlDoc;
},

0 comments on commit 5282755

Please sign in to comment.