From 1c5685d68f1b73270fb814fe04cbb490eb90ba5f Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 14 Nov 2008 15:39:19 +0000 Subject: Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/widget/Rating.js | 90 -------------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 includes/js/dojox/widget/Rating.js (limited to 'includes/js/dojox/widget/Rating.js') diff --git a/includes/js/dojox/widget/Rating.js b/includes/js/dojox/widget/Rating.js deleted file mode 100644 index 8f12d62..0000000 --- a/includes/js/dojox/widget/Rating.js +++ /dev/null @@ -1,90 +0,0 @@ -if(!dojo._hasResource["dojox.widget.Rating"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.Rating"] = true; -dojo.provide("dojox.widget.Rating"); - -dojo.require("dijit.form._FormWidget"); - -dojo.declare("dojox.widget.Rating", - dijit.form._FormWidget,{ - // summary: - // A widget for rating using stars. - // - // required: Boolean - // TODO: Can be true or false, default is false. - // required: false, - - templateString: null, - - // numStars: Integer - // The number of stars to show, default is 3. - numStars: 3, - // value: Integer - // The current value of the Rating - value: 0, - - constructor:function(params){ - // Build the templateString. The number of stars is given by this.numStars, - // which is normally an attribute to the widget node. - dojo.mixin(this, params); - - // TODO actually "dijitInline" should be applied to the surrounding div, but FF2 - // screws up when we dojo.query() for the star nodes, it orders them randomly, because of the use - // of display:--moz-inline-box ... very strange bug - // Since using ul and li in combintaion with dijitInline this problem doesnt exist anymore. - - // The focusNode is normally used to store the value, i dont know if that is right here, but seems standard for _FormWidgets - var tpl = '