Skip to content

Instantly share code, notes, and snippets.

@unscriptable
Created December 17, 2014 15:49
Show Gist options
  • Save unscriptable/02ffcdbdc650d09fc3ca to your computer and use it in GitHub Desktop.
Save unscriptable/02ffcdbdc650d09fc3ca to your computer and use it in GitHub Desktop.
┏( ˆ◡ˆ)┛ ┗(ˆ◡ˆ )┓ Welcome to the RaveJS debug party! ┏( ˆ◡ˆ)┛ ┗(ˆ◡ˆ )┓
If you see some 404s for JSON files, that's ok! They'll go away when you build your app.
If the 404s are spoiling your debug party, the README.md shows how to evict them.
rave.js:4692 Rave REPL enabled! (experimental)
Available commands:
-> rave.dump() - returns rave's context to be viewed or manipulated.
-> rave.version() - shows rave's version.
-> rave.checkVersions() - checks if extensions are compatible.
-> rave.restore() - restores any previous global rave variable and returns rave-> rave.help() - shows these commands.
-> what else should we provide? File a github issue!
rave.js:3014 GET http://localhost:8000/temp/text/bower.json 404 (Not Found)
rave.js:3014 GET http://localhost:8000/temp/text/node_modules/rave-load-text/node_modules/rave/package.json 404 (Not Found)
index.js:1 this is a foo.bar file.
this is a foo.bar file.
<!doctype html>
<script async src="node_modules/rave/rave.js"></script>
console.log(require('./foo.bar'));
{
"name": "issue-1",
"main": "index.js",
"dependencies": {
"rave-load-text": "^0.5.1"
},
"rave": {
"env": { "loadText": { "extensions": [ "bar" ] } }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment