Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
JavaScript
function init() {
    canvas = document.getElementById("canvas");
    images = images||{};

    var loader = new createjs.LoadQueue(false);
    loader.addEventListener("fileload", handleFileLoad);
    loader.addEventListener("complete", handleComplete);
    loader.loadManifest(lib.properties.manifest);
}
Posted
Updated 5-May-15 2:58am
v3
Comments
ZurdoDev 5-May-15 11:22am    
Debug it. It sounds like createjs is null.
Member 11665822 6-May-15 0:27am    
thank u for your reply , but this problem is only in ie
ZurdoDev 6-May-15 7:53am    
So? You still have to debug it. It sounds like createjs is null. creatjs would be null if IE did not load the JS file it is in. Or if it is loading it in a different order and doesn't have it loaded yet. Either way, the only thing you can do is debug it. We can't run your code.

1 solution

This error is lexical. The syntax is wrong. You are missing ().
Suppose you have a function:
JavaScript
function SomeConstructor() {
   this.value = 0; // for example
   //...
}
creation of the object will look like
JavaScript
var someObject = new SomeConstructor();


—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900