Anton Shestakov <av6@dwimlabs.net>, Fri, 08 Apr 2016 22:13:02 +0800
register: progress bar on top
js/progress.js
Permissions: -rw-r--r--
// Generated by CoffeeScript 1.10.0 var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; window.Tram.ProgressApp = (function(superClass) { extend(ProgressApp, superClass); this.getStyle = bind(this.getStyle, this); return ProgressApp.__super__.constructor.apply(this, arguments); ProgressApp.prototype.initialize = function() { ProgressApp.prototype.getStyle = function(progress) { return "width: " + (progress != null ? progress : 0) + "%;"; ProgressApp.prototype.render = function() { this.rivet = rivets.bind(this.el, { ProgressApp.prototype.remove = function() { return ProgressApp.__super__.remove.apply(this, arguments); //# sourceMappingURL=progress.js.map