|
|
|
@ -79,6 +79,8 @@ browser:
|
|
|
|
|
echo ' * Licensed under the MIT license.' >> $(BROWSER_FILE_DEV)
|
|
|
|
|
echo ' */' >> $(BROWSER_FILE_DEV)
|
|
|
|
|
echo 'var PEG = (function(undefined) {' >> $(BROWSER_FILE_DEV)
|
|
|
|
|
echo ' "use strict";' >> $(BROWSER_FILE_DEV)
|
|
|
|
|
echo '' >> $(BROWSER_FILE_DEV)
|
|
|
|
|
echo ' var modules = {' >> $(BROWSER_FILE_DEV)
|
|
|
|
|
echo ' define: function(name, factory) {' >> $(BROWSER_FILE_DEV)
|
|
|
|
|
echo ' var dir = name.replace(/(^|\/)[^/]+$$/, "$$1"),' >> $(BROWSER_FILE_DEV)
|
|
|
|
|