Skip to main content

Site Navigation

Your Account

Choose Language

Help
Editing Step 2 —

Step Type:

Drag to rearrange

Use your favorite text editor to open /src/static/testviews.html

We will start with a clean workspace, so we need to comment out the other plugins that are used.

Commend out all of the script.push(...) lines about midway down the document. You can use the /* ... */ to comment out multiple lines easily.

Save the file

Note there is a commandline option in the comments for how to launch chrome in a special file access mode. You will need to close any running instances of node, open a command window, and then start chrome in this special mode.

OSX: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-file-access-from-files

If you get issues with getting a profile lock, shut down any currently running instances of chrome

From Chrome, do a file open, and select the testviews.html file you edited above. If you get "Cross origin requests" JS error try running a HTTP server, e.g. `python -m SimpleHTTPServer 8000` and access through http://localhost:8000/src/static/testviews.html.