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/sketch/UnderlineAnnotation.js | 82 ------------------------- 1 file changed, 82 deletions(-) delete mode 100644 includes/js/dojox/sketch/UnderlineAnnotation.js (limited to 'includes/js/dojox/sketch/UnderlineAnnotation.js') diff --git a/includes/js/dojox/sketch/UnderlineAnnotation.js b/includes/js/dojox/sketch/UnderlineAnnotation.js deleted file mode 100644 index 7b67053..0000000 --- a/includes/js/dojox/sketch/UnderlineAnnotation.js +++ /dev/null @@ -1,82 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.UnderlineAnnotation"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.UnderlineAnnotation"] = true; -dojo.provide("dojox.sketch.UnderlineAnnotation"); -dojo.require("dojox.sketch.Annotation"); -dojo.require("dojox.sketch.Anchor"); - -(function(){ - var ta=dojox.sketch; - ta.UnderlineAnnotation=function(figure, id){ - ta.Annotation.call(this, figure, id); - this.transform={dx:0, dy:0}; - this.start={x:0, y:0}; - this.property('label',this.id); - this.labelShape=null; - this.lineShape=null; - this.anchors.start=new ta.Anchor(this, "start", false); - }; - ta.UnderlineAnnotation.prototype=new ta.Annotation; - var p=ta.UnderlineAnnotation.prototype; - p.constructor=ta.UnderlineAnnotation; - - p.type=function(){ return 'Underline'; }; - p.getType=function(){ return ta.UnderlineAnnotation; }; - - p.apply=function(obj){ - if(!obj) return; - if(obj.documentElement) obj=obj.documentElement; - this.readCommonAttrs(obj); - - for(var i=0; i' - + '' - + '' - + this.property('label') - + '' - + ''; - }; - - ta.Annotation.register("Underline"); -})(); - -} -- cgit v1.2.3