Commit Graph

15 Commits

Author SHA1 Message Date
Thomas Aylott 60bf481bf5 Added special-comments-conditional-compilation for IE; Added leading-space scopes 2008-07-08 16:55:46 -04:00
Thomas Aylott 3441b11cc2 Fixed the illegal number scopes 2008-07-07 13:16:07 -04:00
Thomas Aylott 7d3632c085 .999 numbers.invalid scopes for octal and hex. -999 and +999 numbers 2008-07-07 13:07:57 -04:00
Thomas Aylott dad2829a89 Reorganize the JavaScript Basic syntax. Moved everything into the repository. 2008-07-07 12:11:41 -04:00
subtlegradient c18a767790 Improved String Literal syntax. Fixed the "bug" where an unclosed string extends past the closign script tag in html.
String should end on \n with a syntax error
String should end on </script>\n with a syntax error
String should mark </script> as invalid

git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10170 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-07 12:11:41 -04:00
Joseph Pecoraro 73900868d5 Scientific notation => Ex, 1e5 and 2.5E5
from Joseph Pecoraro
2008-07-02 12:52:49 -04:00
Thomas Aylott 6fa933fc13 Don't require a space after the function keyword
Merging in a modified version of Joseph Pecoraro's fix here: http://pastie.textmate.org/private/hxkpy8qkahofrxwyvp4coq
2008-07-02 12:42:58 -04:00
Joseph Pecoraro 0bdaea84f6 Merging in the regex fixes from Joseph Pecoraro as seen here: http://lists.macromates.com/textmate/2008-June/025973.html 2008-07-02 12:36:52 -04:00
Thomas Aylott ee10b85ff5 Impriving regexp literals 2008-07-02 12:17:34 -04:00
Thomas Aylott f355cab4ce Undefined -> undefined 2008-07-02 11:47:48 -04:00
Thomas Aylott 2be7a89002 Improved meta.function.json.js with punctuation and proper storage.type 2008-07-02 11:44:06 -04:00
subtlegradient 151f7a83eb Don't match a single slash (/) as a regex literal unless there's another one on the same line. Force Regex literals to end at the end of the line. This helps solve some performance issues while coding. Thanks Daniel Stockman
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@9128 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-03-16 03:24:13 +00:00
subtlegradient f577ae87e4 Renamed "Javascript Basic" to "Javascript Embedded" Thanks Infin.
New scope: meta.complete.method for the first character of white space after a dot.

git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@8631 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2007-12-09 08:18:54 +00:00
subtlegradient 581d5ad997 Changes scopes. source.js => source.js.base, source.js.basic => source.js
Include source.js.basic if you want embedded javascript in your language.
Include source.js.base if you want to extend javascript, EG: MooTools

git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@8614 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2007-12-05 21:22:56 +00:00
subtlegradient 97c40c67f1 Merged changes from stable
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@8601 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2007-12-05 19:41:09 +00:00