enyojs/api-tool — pull request #18 by JayCanuck (2013-03-28 04:24:29+00:00)
Title: Added support for url query strings to override manifest.json's disabled and hidden properties.

Added support for query strings to override manifest.json's disabled and hidden properties. Query pairs are in the format of , where name is the package name and value is either "enabled", "disabled", "hidden", or "visible", with the ability to specify multiple values separated by a comma.

For example:

http://enyojs.com/api/?enyo=hidden#enyo.AroundList under-the-hood resolves to http://enyojs.com/api/#enyo.AroundList?enyo=hidden which then loads enyo as hidden and removes the hash from the url and so the user only sees http://enyojs.com/api/#enyo.AroundList with the desired optons

This allows the user to use hardcoded urls with querystrings, and modify the url from the browser addressbar to apply overrides.

A few more examples:
http://enyojs.com/api/?enyo=hidden
http://enyojs.com/api/#enyo.Ajax?enyo=enabled,visible
http://enyojs.com/api/?onyx=disabled#enyo.Ajax
http://enyojs.com/api/#enyo.Ajax?layout/imageview=disabled&layout/list=disabled