Browse Source

moving parser* out of js into support

Herbert Vojčík 10 years ago
parent
commit
4833cfff47
4 changed files with 3 additions and 3 deletions
  1. 2 2
      Gruntfile.js
  2. 1 1
      support/amber4browser.js
  3. 0 0
      support/parser.js
  4. 0 0
      support/parser.pegjs

+ 2 - 2
Gruntfile.js

@@ -22,8 +22,8 @@ module.exports = function(grunt) {
           cache: true,
           export_var: 'smalltalk.parser'
         },
-        src: 'js/parser.pegjs',
-        dest: 'js/parser.js',
+        src: 'support/parser.pegjs',
+        dest: 'support/parser.js',
       }
     },
 

+ 1 - 1
support/amber4browser.js

@@ -69,6 +69,7 @@ amber = (function() {
 		} else {
 			loadIDEDependencies();
 			loadCSS('amber.css');
+            addJSToLoad('support/parser.js');
 
 			loadPackages([
 				'Kernel-Objects',
@@ -89,7 +90,6 @@ amber = (function() {
 				'Compiler-Inlining',
 				'Compiler-Interpreter',
 				'Compiler-Tests',
-				'parser',
 				'IDE',
 				'Examples',
 				'Benchfib',

+ 0 - 0
js/parser.js → support/parser.js


+ 0 - 0
js/parser.pegjs → support/parser.pegjs