Load JavaScript and CSS files in ~/.w3
, based on their filename via Browser Extension.
- Ruby 1.9+ is needed to serve the files under ~/.w3 via the included w3d command
- Chrome/Chromium or Firefox
- Hit chrome://extensions
- Enable developer mode
- Load unpacked extension
- Navigate to your local .w3 folder and select the chrome-ext subfolder
- Open about://addons
- Click "Get Addons"
- Search for "dotjs"
- Find "dotjs 1.10 by Ricky Rosario" and install it. (Source: https://github.com/rlr/dotjs-addon)
If for some reason you really really need port 3132 for something, you can specify a different port by changing the port in both chrome-ext/w3.js and bin/w3d.
Start w3d and add some stuff to your ~/.w3/
directory.
w3d 2.0 is a fork with minor changes from the djsd binary included in defunkt/dotjs.
@azer for the original .w3 scripts and extension.
Inspired from and based on defunkt/dotjs and stewart/dotcss.