All Downloads are FREE. Search and download functionalities are using the official Maven repository.

a.hyperscala-createjs_2.11.0.10.3.source-code.hyperscala-easel.js Maven / Gradle / Ivy

The newest version!
var EaselJS = {
    items: {},
    stage: function(id) {
        var s = EaselJS.items[id];
        if (s == null) {
            s = new createjs.Stage(id);
            EaselJS.items[id] = s;
        }
        return s;
    },
    shape: function(id, stageId) {
        var s = EaselJS.items[id];
        if (s == null) {
            s = new createjs.Shape();
            EaselJS.items[id] = s;

            var stage = EaselJS.stage(stageId);
            stage.addChild(s);
        }
        return s;
    }
};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy