Expose your Backbone views in a single click.

Latest Version

Version
0.6.1
Update
February 21, 2015
Size
63.02KiB
Developer
Category
Users
9
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
See more

Openure Extension

Openure
================================
Openure exposes the internal variables of Backbone Views on a page.


Setup & Use
-------------------------

1. Expose your backbone app in a global variable. (Flag this off for your isStaff or Admin group only if you'd like)

2. Set that variable name in the Openure extension options at chrome://extensions/ and refresh the page (look for Openure in your extensions and click - 'options')

3. CMND-SHIFT-click on a view. Notice the view you clicked is highlighted in a lightbox (courtesy of jQuery Spotlight - http://dev7studios.com/portfolio/jquery-spotlight/)

4. In the Chrome JS console, use the 'view', 'model', 'collection' and 'options' variables.


Details
-------------------------
The following variables are defined in the interactive terminal.

* view - the view you clicked
* model - the model of the view, if there is one. Same as typing view.model
* collection - the collection of the view, if there is one. Same as typing view.collection
* options - the options passed to the view. Same as typing view.options

Help
-------------------------
If you see \"openure_key is not defined\" then go back to setup step 2.

For now, it seems like the Openure Extension Options window needs to remain open :( Working on it...

Example
-------------------------
You can change the model and call view.render(), or see the state of a view.


Why
-------------------------
It's a hassle to find and drill down into your views from the console. Going back and adding clogs or debuggers isn't fun either. Just click and get crazy.


Future Development
-------------------------
For a while we were trying to get a jqconsole to appear and be draggable around the screen. Making this console as good as Chrome's proved very challenging, so this is on a branch for now.

Help make it better! https://github.com/sosaucily/openure
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Openure", "description": "Expose your Backbone views in a single click.", "version": "0.6.1", "web_accessible_resources": [ "openure.js" ], "permissions": [ "storage" ], "content_scripts": [ { "matches": [""], "js": [ "openure-startup.js" ], "run_at": "document_end" } ], "browser_action": { "default_icon": "openure.png", "default_popup": "popup.html" }, "background": { "scripts": ["openure-plugin.js"] }}
Read more

Similar Extensions

icon

Bar Charts for Hacker News Polls Extension · Productivity 9 2 ★ 43.72KiB

icon

Does it use SVG? Extension · Developer Tools 9 1 ★ 19.75KiB

icon

Subhub Extension · Developer Tools 9 2 ★ 90.34KiB

icon

Backbone View Inspector Extension · Developer Tools 9 2 ★ 117KiB

icon

Github Annotator Extension · Developer Tools 9 2 ★ 81.68KiB

icon

Thorax Inspector Extension · Developer Tools 9 3 ★ 10.98KiB

icon

Chrodic Extension · Productivity 9 1 ★ 46.66KiB

icon

Marionette Inspector Extension · Developer Tools 9 40 ★ 1.49MiB

icon

Hacker News Tweak Extension · Productivity 9 4 ★ 59.73KiB

icon

Keen Debugger Extension · Developer Tools 9 0 ★ 12.25KiB

icon

GitHub Search Tool Extension · Developer Tools 9 1 ★ 23.06KiB

icon

JavaScript Libraries On the fly! Extension · Developer Tools 9 1 ★ 50.86KiB

icon

Github Gist logo fixer Extension · Developer Tools 9 1 ★ 4.12KiB

icon

Backbone Debugger Extension · Developer Tools 9 59 ★ 354KiB

icon

App Engine Resource Usage Extension · Developer Tools 9 3 ★ 98.05KiB

icon

Fantasy Code Snippets Extension · Developer Tools 9 2 ★ 113KiB

icon

Whats My Info Extension · Developer Tools 9 10 ★ 83.2KiB

icon

Data Organizer Extension · Productivity 9 0 ★ 273KiB

icon

C-Strip Extension · Developer Tools 9 2 ★ 8.62KiB

icon

Diff Navigator for GitHub Extension · Developer Tools 9 3 ★ 43.72KiB

icon

Git flow (for Github) Extension · Developer Tools 9 1 ★ 218KiB

icon

Developer pages Extension · Developer Tools 9 5 ★ 7.09KiB

icon

Github Super Search Extension · Developer Tools 9 0 ★ 46.74KiB

icon

Codebox Button for GitHub Extension · Developer Tools 9 2 ★ 11.74KiB