Mercurial > hg > digilib-old
comparison webapp/src/main/webapp/jquery/jquery.digilib.geometry.js @ 1128:fcafcc8996be
css validates now (no more directx filter). removed superfluous comma (js runs but ie6 still not really happy :-)
author | robcast |
---|---|
date | Fri, 09 Nov 2012 19:48:04 +0100 |
parents | efe4b0f18cf8 |
children | 3b5968aeefac |
comparison
equal
deleted
inserted
replaced
1127:a5699754288b | 1128:fcafcc8996be |
---|---|
128 }; | 128 }; |
129 // returns position in css-compatible format | 129 // returns position in css-compatible format |
130 that.getAsCss = function() { | 130 that.getAsCss = function() { |
131 return { | 131 return { |
132 left : this.x, | 132 left : this.x, |
133 top : this.y, | 133 top : this.y |
134 }; | 134 }; |
135 }; | 135 }; |
136 that.toString = function() { | 136 that.toString = function() { |
137 return (this.x + "," + this.y); | 137 return (this.x + "," + this.y); |
138 }; | 138 }; |