Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Commit

Permalink
Version 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Apr 27, 2013
1 parent c07fa8a commit 035def3
Show file tree
Hide file tree
Showing 30 changed files with 246 additions and 137 deletions.
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,20 @@ doc:
--categories=categories.json \
--warnings=-no_doc \
--pretty-json \
--output api
--output api \
--body-html="<script type='text/javascript'>\
var _gaq = _gaq || [];\
_gaq.push(['_setAccount', 'UA-36403214-1']);\
_gaq.push(['_setDomainName', 'backgridjs.com']);\
_gaq.push(['_setAllowLinker', true]);\
_gaq.push(['_trackPageview']);\
(function() {\
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\
})();\
</script>"


test: FORCE
phantomjs bin/run-jasmine.js test/index.html
Expand Down
4 changes: 2 additions & 2 deletions api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ <h3>Filter</h3>
</div>


<div id='footer-content' style='display: none'>Generated on Wed 24 Apr 2013 21:38:47 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 4.8.0.</div>
<div id='footer-content' style='display: none'>Generated on Sat 27 Apr 2013 19:31:16 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 4.8.0.</div>


<script type='text/javascript'> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-36403214-1']); _gaq.push(['_setDomainName', 'backgridjs.com']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();</script>

<script type="text/javascript">
(function(){
Expand Down
2 changes: 1 addition & 1 deletion api/output/Backgrid.BooleanCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Ext.data.JsonP.Backgrid_BooleanCell({

]
},
"linenr": 649,
"linenr": 644,
"files": [
{
"filename": "cell.js",
Expand Down
4 changes: 2 additions & 2 deletions api/output/Backgrid.BooleanCellEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Ext.data.JsonP.Backgrid_BooleanCellEditor({

]
},
"linenr": 567,
"linenr": 558,
"files": [
{
"filename": "cell.js",
Expand Down Expand Up @@ -152,5 +152,5 @@ Ext.data.JsonP.Backgrid_BooleanCellEditor({
"parentMixins": [

],
"html": "<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Backbone.View<div class='subclass '><a href='#!/api/Backgrid.CellEditor' rel='Backgrid.CellEditor' class='docClass'>Backgrid.CellEditor</a><div class='subclass '><strong>Backgrid.BooleanCellEditor</strong></div></div></div></pre><div class='doc-contents'><p>BooleanCellEditor renders a checkbox as its editor.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-attributes' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-property-attributes' class='name not-expandable'>attributes</a><span> : Object</span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-events' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-property-events' class='name expandable'>events</a><span> : Object</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>{&quot;blur&quot;: &quot;enterOrExitEditMode&quot;, &quot;change&quot;: &quot;saveOrCancel&quot;, &quot;keydown&quot;: &quot;saveOrCancel&quot;}</code></p></div></div></div><div id='property-tagName' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-property-tagName' class='name expandable'>tagName</a><span> : String</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>&quot;input&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-enterOrExitEditMode' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-method-enterOrExitEditMode' class='name expandable'>enterOrExitEditMode</a>( <span class='pre'>e</span> )</div><div class='description'><div class='short'>Event handler. ...</div><div class='long'><p>Event handler. Hack to deal with the case where <code>blur</code> is fired before\n<code>change</code> and <code>click</code> on a checkbox.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>e</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-initialize' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.CellEditor' rel='Backgrid.CellEditor' class='defined-in docClass'>Backgrid.CellEditor</a><br/></div><a href='#!/api/Backgrid.CellEditor-method-initialize' class='name expandable'>initialize</a>( <span class='pre'>options</span> )</div><div class='description'><div class='short'>Initializer. ...</div><div class='long'><p>Initializer.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n<ul><li><span class='pre'>formatter</span> : <a href=\"#!/api/Backgrid.CellFormatter\" rel=\"Backgrid.CellFormatter\" class=\"docClass\">Backgrid.CellFormatter</a><div class='sub-desc'></div></li><li><span class='pre'>column</span> : <a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a><div class='sub-desc'></div></li><li><span class='pre'>model</span> : Backbone.Model<div class='sub-desc'></div></li></ul></div></li></ul><h3 class='pa'>Throws</h3><ul><li><span class='pre'>TypeError</span><div class='sub-desc'><p>If <code>formatter</code> is not a formatter instance, or when\n<code>model</code> or <code>column</code> are undefined.</p>\n</div></li></ul></div></div></div><div id='method-postRender' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.CellEditor' rel='Backgrid.CellEditor' class='defined-in docClass'>Backgrid.CellEditor</a><br/></div><a href='#!/api/Backgrid.CellEditor-method-postRender' class='name expandable'>postRender</a>( <span class='pre'>model, column</span> ) : <a href=\"#!/api/Backgrid.CellEditor\" rel=\"Backgrid.CellEditor\" class=\"docClass\">Backgrid.CellEditor</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Post-rendering setup and initialization. ...</div><div class='long'><p>Post-rendering setup and initialization. Focuses the cell editor's <code>el</code> in\nthis default implementation. <strong>Should</strong> be called by Cell classes after\ncalling Backgrid.CellEditor#render.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>model</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>column</span> : Object<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.CellEditor\" rel=\"Backgrid.CellEditor\" class=\"docClass\">Backgrid.CellEditor</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-render' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-method-render' class='name expandable'>render</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.BooleanCellEditor\" rel=\"Backgrid.BooleanCellEditor\" class=\"docClass\">Backgrid.BooleanCellEditor</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Renders a checkbox and check it if the model value of this column is true,\nuncheck otherwise. ...</div><div class='long'><p>Renders a checkbox and check it if the model value of this column is true,\nuncheck otherwise.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.BooleanCellEditor\" rel=\"Backgrid.BooleanCellEditor\" class=\"docClass\">Backgrid.BooleanCellEditor</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-saveOrCancel' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-method-saveOrCancel' class='name expandable'>saveOrCancel</a>( <span class='pre'>e</span> )</div><div class='description'><div class='short'>Event handler. ...</div><div class='long'><p>Event handler. Save the value into the model if the event is <code>change</code> or\none of the keyboard navigation key presses. Exit edit mode without saving\nif <code>escape</code> was pressed.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>e</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>"
"html": "<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Backbone.View<div class='subclass '><a href='#!/api/Backgrid.CellEditor' rel='Backgrid.CellEditor' class='docClass'>Backgrid.CellEditor</a><div class='subclass '><strong>Backgrid.BooleanCellEditor</strong></div></div></div></pre><div class='doc-contents'><p>BooleanCellEditor renders a checkbox as its editor.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-attributes' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-property-attributes' class='name not-expandable'>attributes</a><span> : Object</span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-events' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-property-events' class='name not-expandable'>events</a><span> : Object</span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-tagName' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-property-tagName' class='name expandable'>tagName</a><span> : String</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>&quot;input&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-enterOrExitEditMode' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-method-enterOrExitEditMode' class='name expandable'>enterOrExitEditMode</a>( <span class='pre'>e</span> )</div><div class='description'><div class='short'>Event handler. ...</div><div class='long'><p>Event handler. Hack to deal with the case where <code>blur</code> is fired before\n<code>change</code> and <code>click</code> on a checkbox.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>e</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-initialize' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.CellEditor' rel='Backgrid.CellEditor' class='defined-in docClass'>Backgrid.CellEditor</a><br/></div><a href='#!/api/Backgrid.CellEditor-method-initialize' class='name expandable'>initialize</a>( <span class='pre'>options</span> )</div><div class='description'><div class='short'>Initializer. ...</div><div class='long'><p>Initializer.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n<ul><li><span class='pre'>formatter</span> : <a href=\"#!/api/Backgrid.CellFormatter\" rel=\"Backgrid.CellFormatter\" class=\"docClass\">Backgrid.CellFormatter</a><div class='sub-desc'></div></li><li><span class='pre'>column</span> : <a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a><div class='sub-desc'></div></li><li><span class='pre'>model</span> : Backbone.Model<div class='sub-desc'></div></li></ul></div></li></ul><h3 class='pa'>Throws</h3><ul><li><span class='pre'>TypeError</span><div class='sub-desc'><p>If <code>formatter</code> is not a formatter instance, or when\n<code>model</code> or <code>column</code> are undefined.</p>\n</div></li></ul></div></div></div><div id='method-postRender' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.CellEditor' rel='Backgrid.CellEditor' class='defined-in docClass'>Backgrid.CellEditor</a><br/></div><a href='#!/api/Backgrid.CellEditor-method-postRender' class='name expandable'>postRender</a>( <span class='pre'>model, column</span> ) : <a href=\"#!/api/Backgrid.CellEditor\" rel=\"Backgrid.CellEditor\" class=\"docClass\">Backgrid.CellEditor</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Post-rendering setup and initialization. ...</div><div class='long'><p>Post-rendering setup and initialization. Focuses the cell editor's <code>el</code> in\nthis default implementation. <strong>Should</strong> be called by Cell classes after\ncalling Backgrid.CellEditor#render.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>model</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>column</span> : Object<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.CellEditor\" rel=\"Backgrid.CellEditor\" class=\"docClass\">Backgrid.CellEditor</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-render' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-method-render' class='name expandable'>render</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.BooleanCellEditor\" rel=\"Backgrid.BooleanCellEditor\" class=\"docClass\">Backgrid.BooleanCellEditor</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Renders a checkbox and check it if the model value of this column is true,\nuncheck otherwise. ...</div><div class='long'><p>Renders a checkbox and check it if the model value of this column is true,\nuncheck otherwise.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.BooleanCellEditor\" rel=\"Backgrid.BooleanCellEditor\" class=\"docClass\">Backgrid.BooleanCellEditor</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-saveOrCancel' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.BooleanCellEditor'>Backgrid.BooleanCellEditor</span><br/></div><a href='#!/api/Backgrid.BooleanCellEditor-method-saveOrCancel' class='name expandable'>saveOrCancel</a>( <span class='pre'>e</span> )</div><div class='description'><div class='short'>Event handler. ...</div><div class='long'><p>Event handler. Save the value into the model if the event is <code>change</code> or\none of the keyboard navigation key presses. Exit edit mode without saving\nif <code>escape</code> was pressed.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>e</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>"
});
2 changes: 1 addition & 1 deletion api/output/Backgrid.Cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Ext.data.JsonP.Backgrid_Cell({

]
},
"linenr": 179,
"linenr": 170,
"files": [
{
"filename": "cell.js",
Expand Down
2 changes: 1 addition & 1 deletion api/output/Backgrid.DateCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Ext.data.JsonP.Backgrid_DateCell({

]
},
"linenr": 535,
"linenr": 526,
"files": [
{
"filename": "cell.js",
Expand Down
2 changes: 1 addition & 1 deletion api/output/Backgrid.DatetimeCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Ext.data.JsonP.Backgrid_DatetimeCell({

]
},
"linenr": 469,
"linenr": 460,
"files": [
{
"filename": "cell.js",
Expand Down
2 changes: 1 addition & 1 deletion api/output/Backgrid.EmailCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Ext.data.JsonP.Backgrid_EmailCell({

]
},
"linenr": 377,
"linenr": 368,
"files": [
{
"filename": "cell.js",
Expand Down
2 changes: 1 addition & 1 deletion api/output/Backgrid.Extension.LunrFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Ext.data.JsonP.Backgrid_Extension_LunrFilter({

]
},
"linenr": 228,
"linenr": 227,
"files": [
{
"filename": "backgrid-filter.js",
Expand Down
Loading

0 comments on commit 035def3

Please sign in to comment.