This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
{ # this ensures the entire script is downloaded # | |
nvm_has() { | |
type "$1" > /dev/null 2>&1 | |
} | |
nvm_grep() { | |
GREP_OPTIONS='' command grep "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "layouts/main.html" %} | |
{% block page_title %}Services{% endblock %} | |
{% set page = 'services' %} | |
{% if error %} | |
<h2>Oops</h2> | |
<p>{{ error }}</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.define('Extensible.calendar.form.EventWindow', { | |
layout: 'fit', // added this | |
// etc. | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(fm) { | |
function f0(out,values,parent,xindex,xcount) { | |
try { with(values) { | |
return(weeks) | |
}} catch(e) {} | |
} | |
function f5(out,values,parent,xindex,xcount) { | |
return values | |
} | |
function f8(out,values,parent,xindex,xcount) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.onReady(function() { | |
Ext.create('Ext.form.Panel', { | |
title: 'FieldContainer Example', | |
width: 550, | |
bodyPadding: 10, | |
items: [{ | |
xtype: 'myFancyMultiField', | |
fieldLabel: 'Foo', | |
labelWidth: 100 | |
},{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.onReady(function() { | |
Ext.create('Ext.form.Panel', { | |
title: 'FieldContainer Example', | |
width: 550, | |
bodyPadding: 10, | |
items: [{ | |
xtype: 'fieldcontainer', | |
fieldLabel: 'Foo', | |
labelWidth: 100, | |
layout: 'auto', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.onReady(function() { | |
Ext.create('Ext.form.Panel', { | |
title: 'FieldContainer Example', | |
width: 550, | |
bodyPadding: 10, | |
items: [{ | |
xtype: 'fieldcontainer', | |
fieldLabel: 'Foo', | |
labelWidth: 100, | |
layout: 'hbox', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Overriding via the string class name will lazy-override the class: | |
Ext.override('Ext.Panel', { | |
// override the default value of a config: | |
frame: true, | |
// override a method: | |
setTitle: function(newTitle) { | |
this.callOverridden(['First: ' + newTitle]); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.layout.container.AbstractCard.override({ | |
renderChildren: function () { | |
if (!this.deferredRender) { // <-- added this check | |
this.getActiveItem(); | |
this.callParent(); | |
} | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.override('ClassToOverride', { | |
someMethod: function() { | |
return 'overridden'; | |
} | |
}); | |
var theClass = Ext.define('ClassToOverride', { | |
someMethod: function() { | |
return 'original'; | |
}, | |
anotherMethod: function() { |
NewerOlder