summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnmol Agrawal <anmol1771@gmail.com>2014-10-01 21:22:41 +0530
committerAnmol Agrawal <anmol1771@gmail.com>2014-10-01 21:22:41 +0530
commit66a993bd86d651e20bd6db1c257d0ce0190ad09c (patch)
tree50a37b4d1fb744e145b342ccc5d7d3f6f870db36
parent9f9215499c2e2e248b604515d6741d17e78d9062 (diff)
parentcb00ca7ca7fff56ab35f0d2d7def54d9725eb601 (diff)
Merge branch '#62' into Prototype
Conflicts: index.html scripts/rhizicore.js
-rw-r--r--index.html4
-rw-r--r--scripts/rhizicore.js7
2 files changed, 11 insertions, 0 deletions
diff --git a/index.html b/index.html
index 01a20d36..02c510be 100644
--- a/index.html
+++ b/index.html
@@ -49,7 +49,11 @@
<div id="suggestion" >
+<<<<<<< HEAD
<form> <input id="textanalyser" size="70" placeholder="Type here to create a network:" onkeyup="expand(this);"/></form>
+=======
+ <form> <input id = "textanalyser" size= "70" placeholder = "Type here to create a network:" onkeyup = "expand(this);"/></form>
+>>>>>>> #62
</div>
<div class="typeselection">
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 0ac2f29a..d39471d1 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -1033,8 +1033,15 @@ function customSize(type) {
}
function expand(obj){
+<<<<<<< HEAD
if (!obj.savesize) {
obj.savesize = obj.size;
}
obj.size = Math.max(obj.savesize, obj.value.length);
+=======
+ if (!obj.savesize)
+ obj.savesize = obj.size;
+ obj.size = Math.max(obj.savesize,obj.value.length);
+
+>>>>>>> #62
}