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(Ext.form.Panel, { | |
| loadRecord: function(rec) { | |
| this.callOverridden(arguments); | |
| this.fireEvent('load', this, rec); | |
| } | |
| }); |
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.ns('IbwUi.controls'); | |
| IbwUi.controls.ComboBoxJSON = Ext.extend(Ext.form.ComboBox, { | |
| url: '', | |
| root: '', | |
| valueField: 'id', | |
| displayField: 'name', | |
| listWidth: 200, | |
| width: 200, |
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('MyApp.MainContainer', { | |
| extend : 'Ext.Container', | |
| requires : [ | |
| 'MyApp.PersonList', | |
| 'MyApp.PersonDetail' | |
| ], | |
| config : { | |
| layout : { | |
| type : 'hbox', | |
| align : 'stretch' |
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('MyApp.PersonDetail', { | |
| extend : 'Ext.form.Panel', | |
| xtype : 'persondetail', | |
| config : { | |
| items: [ | |
| { | |
| xtype : 'toolbar', | |
| title : 'Person Details', | |
| docked : 'top' | |
| }, |
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('MyApp.PersonDetail', { | |
| extend : 'Ext.form.Panel', | |
| xtype : 'persondetail', | |
| config : { | |
| items: [ | |
| { | |
| xtype : 'fieldset', | |
| items : [ | |
| { | |
| label : 'First', |
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.setup({ | |
| onReady : function() { | |
| var instance = Ext.create('MyModel', { | |
| id : 'test' | |
| }); | |
| console.log('onReady model instance', instance); | |
| } | |
| }); |
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
| nextMove : function() { | |
| var me = this, | |
| app = Rvrsit.app, | |
| currentTurn = me.turn, | |
| computerColor = me.computerColor, | |
| nextMoves = me.findNextMoves(currentTurn), | |
| nextMoveIndex = -1, | |
| numVisibleChips = Object.keys(me.visChips).length, | |
| nextMove; |
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
| var SoundSprite = function(src, schedule) { | |
| var me = this; | |
| me.src = src; | |
| me.schedule = schedule; | |
| me.init(); | |
| }; | |
| SoundSprite.prototype = { | |
| currentIndex : 0, |
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
| console = require('console'); | |
| v8 = require('builtin/v8'); | |
| var test = function() { | |
| console.log('test executed'); | |
| return new Date().getTime(); | |
| } | |
| __code = 'test();'; |
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
| { | |
| "meta" : { | |
| "limit" : 20, | |
| "next" : null, | |
| "offset" : 0, | |
| "previous" : null, | |
| "total_count" : 16 | |
| }, | |
| "objects" : [ | |
| { |
OlderNewer