File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
spriteAnimate/testAnimation/js/Updated JS Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2020
2121// blastWebpage_Words_Divs(globalPositionAll);
2222
23- blastWebpage_Chars_Divs ( globalPositionAll ) ;
23+ // blastWebpage_Chars_Divs(globalPositionAll);
2424// deleteEveryOtherChar();
2525
26+ function blastWebpage ( ) { // choose which mode you want
27+ blastWebpage_Chars_Divs ( globalPositionAll ) ;
28+ }
29+
2630
2731
2832function blastWebpage_Words_Divs ( callback ) {
@@ -105,7 +109,7 @@ function globalPositionAll(x, divPositions){
105109
106110 if ( testdiv . childElementCount > 0 ) {
107111 var children = testdiv . children ;
108- testdiv . remove ( ) ; // Can improve this later. Removes troublesome chars
112+ deleteElem ( testdiv ) ; // Can improve this later. Removes troublesome chars
109113 }
110114 // DUPLICATE DETECTION
111115 // for(var j = x.length-1; j > i; j--){
@@ -145,7 +149,7 @@ function deleteEveryOtherChar(){
145149}
146150
147151
148- function deleteDivElem ( element ) {
152+ function deleteElem ( element ) {
149153 element . remove ( ) ;
150154}
151155
You can’t perform that action at this time.
0 commit comments