This file contains 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
/*globals App */ | |
App.DragView = SC.ScrollView.extend({ | |
backgroundColor: 'black', | |
touchStart: function(touch) { | |
var f = this.get("frame"); | |
this._touch = { | |
start: { | |
x: touch.pageX, |
This file contains 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
require('sproutcore'); | |
require('sproutcore-touch'); | |
var set = SC.set, get = SC.get; | |
var tapEndWasCalled = true; | |
module("Touching handlebars tests", { | |
setup: function() { | |
console.group(' - Setup for new test'); |
This file contains 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
addActor: function() { | |
........ | |
var actor = this.actorNestedStore.createRecord(Bw.AssignmentActor, {}); | |
this.newActors.pushObject(actor); | |
............ | |
} |
This file contains 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 Luh.Ui.TabMainView currentView="pane1"}} | |
{{#view Luh.Ui.TabPaneView id="pane1" class="content" viewName="pane1"}} | |
{{/view}} | |
{{#view Luh.Ui.TabPaneView id="pane2" class="content" viewName="pane2"}} | |
{{/view}} |
This file contains 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.CarouselView = Em.CollectionView.extend(Luh.Ui.ScrollMixin, { | |
scrollOptions: { | |
hScroll: true, | |
vScroll: false, | |
duration: 500, | |
velocity: 0.1, | |
simultaneously: true, | |
initThreshold: 10*ScreenFactor | |
}, |
This file contains 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
config :all, :required => [:sproutcore,"sproutcore/animation", "sproutcore/datastore", :ThothSC] | |
proxy "/thoth", | |
:to => "fungi.no.de:9090", | |
# :secure => true, # Use https | |
:timeout => 25 # Longer timeout for polling transports |
This file contains 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
Bw.ThothDataSourceStaging = ThothSC.DataSource.extend({ | |
connectUsing: ThothSC.SOCKETIO, | |
ThothHost: 'fungi.no.de', | |
ThothPort: '9090', | |
sendComputedProperties: false, | |
sendProperties : true, | |
sendRelations: true, | |
combineReturnCalls: true, | |
logTraffic:false | |
}); |
This file contains 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
#Add this to you asset file | |
match 'tests/**/*.js' do | |
filter LoaderFilter, | |
:module_id_generator => proc { |input| | |
input.path.sub(/^lib\//, "#{APPNAME}/").sub(/\.js$/, '') | |
} | |
concat 'yourlib-tests.js' | |
end |
This file contains 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
{{#each rows}} | |
<tr style="background-color: red;"> | |
{{#each this}} | |
<td>{{this}}</td> | |
{{/each}} | |
</tr> | |
{{/each}} |
This file contains 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
a |
OlderNewer