Trick for larger script box

Discussion in 'Learning Javascript' started by takashi1kun, Jul 8, 2016.

  1. takashi1kun

    takashi1kun spaghetti god code Veteran

    Messages:
    104
    Likes Received:
    38
    Location:
    spain
    First Language:
    Spain Spanish
    Kay i discover a trick to have a endless script box space, i know it is made for amll things, but sometimes you can have a piece of code that is too small to have the annoyance of make a plugin only to that, soo, there is the solution, a unlimited script box.
    This trick doesn't actually makes the script box bigger, but if you look, the script box have limited lines, but each line is infinite and, the js can be readed in one line by the interpreter, soo, you actually only have to use one line but... How i make all in one line, its more annoying, and there is the solution:
    http://jscompress.com/
    You paste the code from your notepad in jscompress
    chrome_2016-07-07_18-36-21.png















    Then press the compress js button and
    there is the result:
    chrome_2016-07-07_18-38-16.png
    you can see its 4 lines but in really this is for word warping effect, actually its one line you can copy and paste and....
    NOW ITS ONE LINE, and sience the script box allow a infinite line lenght, you now don't need to worry about it
    :v 
     
    Last edited by a moderator: Jul 10, 2016
    #1
    Kino and Clock Out like this.

Share This Page