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
    
  
  
    
  | [ | |
| true, | |
| true, | |
| { | |
| "stack": "Error: Save package.json cancelled.\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/lib/jitsu/package.js:250:64\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:179:34\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/async/lib/async.js:126:25\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:174:7\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:232:14\n at ReadStream.data (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:365:7)\n at ReadStream.emit (events.js:64:17)\n at ReadStream._onReadable (net.js:671:31)\n at IOWatcher.onReadable [as callback] (net.js:177:10)", | |
| "message": "Save package.json cancelled." | |
| }, | |
| { | |
| "stack": "Error: Nodejitsu Error (500): Internal Server Error\n at Request._callback (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/client.js:9 | 
  
    
      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
    
  
  
    
  | App.ScrollView = Em.View.extend({ | |
| didInsertElement: function() { | |
| var id = get( this, 'elementId'); | |
| this.iScroll = new iScroll(id); | |
| } | |
| }); | 
  
    
      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
    
  
  
    
  | ControlledView = SC.Mixin.create({ | |
| isInsertedElement: false, | |
| didInsertElement: function(){ | |
| set(this, 'isInsertedElement', 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
    
  
  
    
  | Luh.Ui = {}; | |
| Luh.Ui.ControlledView = Em.Mixin.create({ | |
| didInsertElement: function() { | |
| set(this, 'isInsertedElement', 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
    
  
  
    
  | Luh.Ui.AnimationStyle = { | |
| FROM_DOWN: 0 | |
| , FROM_UP: 1 | |
| , FROM_LEFT: 2 | |
| , FROM_RIGHT: 3 | |
| , NONE: 4 | |
| }; | 
  
    
      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
    
  
  
    
  | App.navMainView = Luh.Ui.NavigationMainView.create({ | |
| }); | |
| App.NavigationView = Luh.Ui.NavigationView.extend({ | |
| hasBackBinding: Em.Binding.oneWay('App.navMainView.hasBack'), | |
| template: Em.Handlebars.compile('<div id="header">{{#if hasBack}}{{#view App.BackButton class="button bordered back"}}HBack{{/view}}{{/if}}{{#view App.NextButton class="button bordered next"}}Next{{/view}}</div><div id="footer"></div>') | |
| }); | 
  
    
      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
    
  
  
    
  | Luh.Ui.SwipeView = Ember.ContainerView.extend({ | |
| width: null, | |
| height: null, | |
| content: null, | |
| duration: '1s', | |
| swipeOptions: { | 
  
    
      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
    
  
  
    
  | .swipe_item { | |
| position: absolute; | |
| -webkit-transform: translateZ(0); | |
| top: 0px; | |
| height: 100%; | |
| width: 100%; | |
| } | |
| .swipe_slider { | |
| position: relative; | 
  
    
      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
    
  
  
    
  | Em.AppGestureManager = Em.Object.extend({ | |
| content: Ember.A(), | |
| isActiveGesture: Ember.computed( function() { | |
| return get(this, 'content').get('length') > 0; | |
| }).property('content.@each'), | 
  
    
      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
    
  
  
    
  | AnimatableView = Ember.ContainerView.extend(Em.Animatable,{ | |
| executeAnimation: function() { | |
| ....... | |
| this.animate({duration: that.duration, stopEventHandling:true}, function() { | |
| # perform animations based on your JS choices | |
| move('#'+id) | |
| .x(translatePosition) |