summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnmol Agrawal <anmol1771@gmail.com>2014-09-30 16:07:04 +0530
committerAnmol Agrawal <anmol1771@gmail.com>2014-09-30 16:07:04 +0530
commitcb00ca7ca7fff56ab35f0d2d7def54d9725eb601 (patch)
treef2387009bba197dcbf5d5bac01fd1186b2f9aead /scripts
parenta1f783d8e22fa17c3ea60181bc08be30dc19ffa9 (diff)
#62 - Refactored code
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index f8bf53ed..4692602b 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -1065,7 +1065,9 @@ function customSize(type) {
return size;
}
-function Expand(obj){
- if (!obj.savesize) obj.savesize=obj.size;
- obj.size=Math.max(obj.savesize,obj.value.length);
+function expand(obj){
+ if (!obj.savesize)
+ obj.savesize = obj.size;
+ obj.size = Math.max(obj.savesize,obj.value.length);
+
}