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
| Account cfgTestCall := block( arg1, arg2, # block, so undefined symbols are lexically-scoped when patched | |
| cfg( i32 /* return type*/, i32 arg1, i32 arg2, /* typed arguments */ | |
| bb( start, // labeled "start", label only valid within this cfg | |
| tail call int32 %sprintf( i32 arg1, i8 arg2 ) | |
| %ignored = opaque %dynamicBB // dynamicBB is a method, but we don't have to call it as one in LLVM if there are no args | |
| br label block2 | |
| ) | |
| bb( block2, // labeled "block2", label only valid within this cfg | |
| %addresult = add i32 1, %AnArg ; <i32> [#uses=1] | |
| %list = %List* %dynamicBlock // dynamic call (no need to use intrinsics when there are zero args) |
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
| popup: function(anchorView, triggerEvent) { | |
| // this will bypass the normal observer machinery, calling the private | |
| // _show method ourselves. To avoid triggering _show twice, we patch up | |
| // the internal _isVisible property. | |
| this._isVisible = true ; | |
| this._show(anchorView, triggerEvent) ; | |
| this.set('isVisible', true); | |
| }, |
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
| <%= select_field_view :field => :inviter, | |
| :name_key => 'name', | |
| :value_key => 'bizid', | |
| :bind => { :objects => 'SharedBusiness.Business.arrangeObjects' } %> |
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
| #marginInset { | |
| margin: 15px; | |
| border: medium solid white | |
| } |
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
| keyDown: function(evt) { | |
| var nr = this.get('nextResponder') ; | |
| return (nr && nr.keyDown) ? nr.keyDown(evt) : false; | |
| }, |
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
| <% view :contacts do %> | |
| <div id="console"></div> | |
| <h1>Contacts (<%= label_view :contacts_count, :outlet => true, :tag => :span, :bind => { :value => 'Ring.contactsController*content.count'} %>)</h1> | |
| <% scroll_view :contacts_scroll, :outlet => true do %> | |
| <%= list_view :contacts_list, :outlet => true, | |
| :content_value_key => 'firstName', | |
| :bind => { | |
| :content => 'Ring.contactsController.arrangedObjects', | |
| :selection => 'Ring.contactsController.selection' |
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
| // ========================================================================== | |
| // Ring.Contact Fixtures | |
| // ========================================================================== | |
| require('core') ; | |
| Ring.FIXTURES = Ring.FIXTURES.concat([ | |
| // TODO: Add your data fixtures here. | |
| // All fixture records must have a unique guid and a type matching the |
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
| // ========================================================================== | |
| // Ring.Contact Fixtures | |
| // ========================================================================== | |
| require('core') ; | |
| Ring.FIXTURES = Ring.FIXTURES.concat([ | |
| // TODO: Add your data fixtures here. | |
| // All fixture records must have a unique guid and a type matching the |
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
| <% content_for('body') do %> | |
| <%= container_view :ring_container, :bind => {:content => 'Ring.containerController*view'} %> | |
| <% end %> |
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
| /* Default CSS for welcome page. Delete this styling and replace it with your own. */ | |
| .ring_container { | |
| position: absolute ; | |
| top: 0px; | |
| left: 0px; | |
| right: 0px; | |
| bottom: 0px; | |
| } |