| Pages: [1] |
|
|
Author |
Topic: SM adds a line break to JS file, causing error (Read 4 times) |
|
pardus
Posts: 1
|
I am trying to use SM to edit a js file. the JS file has variables that need to be on one line, if they get split onto 2, then the script wont function.
If I upload a fresh working JS file, open it and not even edit anything, just save it again, it splits up the lines.
example.
quotes[0]='<!-- #BeginSnippet name="Quote 1 -->the editable text here<!-- #EndSnippet -->'
and after save it does
quotes[0]='<!-- #BeginSnippet name="Quote 1 -->the editable text here
<!-- #EndSnippet -->'
how do i get it to stop doing that?
|
|
|
|
|
admin
Forum Administrator

Posts: 2377
SnippetMaster Author
|
|
|
|
|
|
|
|
Pages: [1]
|
|
|
|