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
C:\dev\util\proj\foo>gem install therubyracer | |
Temporarily enhancing PATH to include DevKit... | |
Building native extensions. This could take a while... | |
ERROR: Error installing therubyracer: | |
ERROR: Failed to build gem native extension. | |
C:/Ruby200/bin/ruby.exe extconf.rb | |
creating Makefile | |
File "<string>", line 1 | |
'import |
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
# Regarde is frensh and means Watch | |
regarde: | |
js: | |
files: 'public/js/**/*.js' | |
tasks: ['minispade', 'livereload', 'regarde'] | |
# coffee: | |
# files: 'public/coffee/**/*.coffee' | |
# tasks: ['clean', 'coffee', 'minispade', 'livereload', 'regarde'] |
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
Grundläggande sidor att ha tillgång till: | |
AD 1 - AD marks+quints + Armor seals + Flat MR glyphs | |
AD 2 - AD marks+quints + Armor seals + Dyn MR glyphs | |
Kommentar: | |
* Använda av: ADC / JUNGLARE / TOPLANEARE | |
* Alla din ADC bör använda dessa, och ta Dyn MR om du möter ovanligt lite magisk skada in lanen | |
* Vissa junglare skulle kunna använda AD2 sidan, men oftast bäst med AS marks | |
* Många fysiska toplanare använder båda dessa sidor, Garen/Riven t.ex |
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
SpeedMind.Router.map(function () { | |
this.resource('source', { path: '/:source_id' }, function() { | |
this.resource('doc', { path: '/:doc_id' }, function() { | |
this.resource('collection', { path: '/:collection_id' }, function() { | |
this.resource('list', { path: '/:list_id' }); | |
}); | |
}); | |
}); |
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
grunt.registerTask('server', function (target) { | |
if (target === 'dist') { | |
return grunt.task.run(['build', 'open', 'connect:dist:keepalive']); | |
} | |
grunt.task.run([ | |
'clean:server', | |
'replace:app', | |
'concurrent:server', | |
'neuter:app', |
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
## Example JSON Response | |
https://script.google.com/macros/s/AKfycbxoGOEaN-sxLty1zm0GEhsOZ3Ynd0FGpdH-2xfj5x9Q/dev?id=tp0nqCXf5y4x5XYLBjfPP2g&link=true | |
## JSON-View plugin for chrome: | |
https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc | |
## Goal | |
Have my JSON populate my store with loads of data | |
## Question #1 | |
Should i reformat my JSON somehow? I know for certain i want a lot of data coming in one bunch, and the natural format is for me the way it is, nested data, rather then writing list of ID's to indicate what belongs where... |
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
SpeedMind.M = DS.Model.extend({ | |
mms : DS.hasMany('mm'), | |
name : DS.attr('string') | |
}); | |
SpeedMind.Mm = DS.Model.extend({ | |
m : DS.belongsTo('m'), | |
name : DS.attr('string'), | |
mmms : DS.hasMany('mmm') | |
}); | |
SpeedMind.Mmm = DS.Model.extend({ |
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
CONSOLE_LOG: | |
1 | |
2 | |
RETURNING | |
3 | |
4 | |
PROBLEM & Question: | |
Ember does not render anything until passing point 4, that takes considerable time, can i get it to render without waiting? |
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
this.resource('source', { path: '/:source_id' }, function() { | |
this.resource('doc', { path: '/:key' }, function() { | |
this.resource('collection', { path: '/:key' }, function() { | |
this.resource('list', { path: '/:key' }); | |
}); | |
}); | |
}); |
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
## Performance question | |
A lot of databinding is in place, coupled with the model of the controller. | |
I wanna make more then one change and then let the visual changes to the | |
databinding happen, not step by step. | |
Question 1: Will UI-databinding trigger step-by-step when making | |
changes within setupController? | |
Question 2: If so, is there a way to suspend such step-by-step |
OlderNewer