21
edits
Changes
Added the line of code that can close Ubiquity from a command
include( "ubiquity/templates.ubiquity.js" );
</pre>
== Closing Ubiquity Programmatically ==
Here is the line of code that a developer can use in order to programmatically close Ubiquity (from the preview for example):
<pre>
context.chromeWindow.gUbiquity.closeWindow();
</pre>