unageanu/container-js

View on GitHub
samples/optimization/web/scripts/app/model/bmodel.js

Summary

Maintainability
A
3 hrs
Test Coverage
define(["app/utils/observable"], function(Observable){
    
    "use strict";
    
    /**
     * @class
     */
    var BModel = function() {};
    
    BModel.prototype = new Observable();
    
    /**
     * @public
     * @return {string}
     */
    BModel.prototype.initialize = function() {
        this.fire( "updated", { 
            property: "message", 
            value :" b."
        });
    };
    
    return BModel;
});