From 0181c0110985cfd2659e81c8cc1ef5a2f73bc697 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 14 Aug 2012 19:04:32 +0400 Subject: dojo: remove uncompressed files --- lib/dijit/form/HorizontalRule.js.uncompressed.js | 76 ------------------------ 1 file changed, 76 deletions(-) delete mode 100644 lib/dijit/form/HorizontalRule.js.uncompressed.js (limited to 'lib/dijit/form/HorizontalRule.js.uncompressed.js') diff --git a/lib/dijit/form/HorizontalRule.js.uncompressed.js b/lib/dijit/form/HorizontalRule.js.uncompressed.js deleted file mode 100644 index a05509e69..000000000 --- a/lib/dijit/form/HorizontalRule.js.uncompressed.js +++ /dev/null @@ -1,76 +0,0 @@ -define("dijit/form/HorizontalRule", [ - "dojo/_base/declare", // declare - "../_Widget", - "../_TemplatedMixin" -], function(declare, _Widget, _TemplatedMixin){ - -/*===== - var _Widget = dijit._Widget; - var _TemplatedMixin = dijit._TemplatedMixin; -=====*/ - -// module: -// dijit/form/HorizontalRule -// summary: -// Hash marks for `dijit.form.HorizontalSlider` - - -return declare("dijit.form.HorizontalRule", [_Widget, _TemplatedMixin], { - // summary: - // Hash marks for `dijit.form.HorizontalSlider` - - templateString: '
', - - // count: Integer - // Number of hash marks to generate - count: 3, - - // container: String - // For HorizontalSlider, this is either "topDecoration" or "bottomDecoration", - // and indicates whether this rule goes above or below the slider. - container: "containerNode", - - // ruleStyle: String - // CSS style to apply to individual hash marks - ruleStyle: "", - - _positionPrefix: '
', - - _genHTML: function(pos){ - return this._positionPrefix + pos + this._positionSuffix + this.ruleStyle + this._suffix; - }, - - // _isHorizontal: [protected extension] Boolean - // VerticalRule will override this... - _isHorizontal: true, - - buildRendering: function(){ - this.inherited(arguments); - - var innerHTML; - if(this.count == 1){ - innerHTML = this._genHTML(50, 0); - }else{ - var i; - var interval = 100 / (this.count-1); - if(!this._isHorizontal || this.isLeftToRight()){ - innerHTML = this._genHTML(0, 0); - for(i=1; i < this.count-1; i++){ - innerHTML += this._genHTML(interval*i, i); - } - innerHTML += this._genHTML(100, this.count-1); - }else{ - innerHTML = this._genHTML(100, 0); - for(i=1; i < this.count-1; i++){ - innerHTML += this._genHTML(100-interval*i, i); - } - innerHTML += this._genHTML(0, this.count-1); - } - } - this.domNode.innerHTML = innerHTML; - } -}); - -}); -- cgit v1.2.3