wget -c http://cdn.sencha.com/ext/gpl/ext-6.2.0-gpl.zip
wget -c http://cdn.sencha.com/cmd/6.2.1/no-jre/SenchaCmd-6.2.1-linux-amd64.sh.zip
| class RepeatTableHeadersHandler extends Paged.Handler { | |
| constructor(chunker, polisher, caller) { | |
| super(chunker, polisher, caller) | |
| this.splitTablesRefs = [] | |
| } | |
| afterPageLayout(pageElement, page, breakToken, chunker) { | |
| this.chunker = chunker | |
| this.splitTablesRefs = [] |
wget -c http://cdn.sencha.com/ext/gpl/ext-6.2.0-gpl.zip
wget -c http://cdn.sencha.com/cmd/6.2.1/no-jre/SenchaCmd-6.2.1-linux-amd64.sh.zip
| var removeEmpty = function(object) { | |
| if (!_.isObject(object)) { | |
| return; | |
| } | |
| _.keys(object).forEach(function(key) { | |
| var localObj = object[key]; | |
| /* Assuming: | |
| * dataview is a { xtype: "list" } | |
| * dataview.itemTpl includes a <div class="deleteplaceholder"></div> | |
| * | |
| * Delete button will disappear as soon as something is touched | |
| */ | |
| dataview.on("itemswipe", function(dataview, ix, target, record, event, options) { | |
| if (event.direction == "left") { | |
| var del = Ext.create("Ext.Button", { |
| export NONE='' | |
| export BLACK='\\033[0;30m' | |
| export RED='\\033[0;31m' | |
| export GREEN='\\033[0;32m' | |
| export BROWN='\\033[0;33m' | |
| export BLUE='\\033[0;34m' | |
| export PURPLE='\\033[0;35m' | |
| export CYAN='\\033[0;36m' | |
| export LIGHT_GREY='\\033[0;37m' | |
| export DARK_GREY='\\033[1;30m' |