README.md in jspreprocessor-0.0.1 vs README.md in jspreprocessor-0.0.2
- old
+ new
@@ -1,9 +1,10 @@
# JSPreprocessor
Like Browserify but the C way.
Include JavaScript files directly into your source code using #include 'somefile'
+Use #define FOO bar to replace every instance of FOO with bar.
## Installation
Add this line to your application's Gemfile:
@@ -27,9 +28,11 @@
end
## JavaScript Usage
#include 'lib/stuff'
+
+ #define FOO bar
var s = new Stuff();
s.doStuff();
## Contributing