Created
August 2, 2012 13:05
-
-
Save k33g/3236925 to your computer and use it in GitHub Desktop.
Mini-Books-Store
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 MiniBooksStore = { | |
categories : ["general", "javascript", "backbone", "coffeescript", "PlayFramework", "java", "SublimeText"], | |
titles : [ | |
{ | |
name : "Mini-Books-Store", | |
id : 3266964, | |
author : "k33g", | |
description : "Mini Books Store presentation", | |
published : "2012 August", | |
categories : ["general"] | |
}, | |
{ | |
name : "Enyo Object Model", | |
id : 3225889, | |
author : "k33g", | |
description : "", | |
published : "2012 August", | |
categories : ["javascript", "oop"] | |
}, | |
{ | |
name : "Coffeescript en 5 minutes", | |
id : 3237104, | |
author : "k33g", | |
description : "Prez rapide de Coffeescript", | |
published : "2012 March", | |
categories : ["coffeescript", "javascript", "oop"] | |
}, | |
{ | |
name : "Backbone controller ?!?", | |
id : 3246944 , | |
author : "k33g", | |
description : "Hack Backbone ... a little bit", | |
published : "2012 August", | |
categories : ["backbone", "javascript", "oop"] | |
}, | |
{ | |
name : "Chop ?", | |
id : 3247694 , | |
author : "k33g", | |
description : "I've cribbed the Backbone object model ;)", | |
published : "2012 July", | |
categories : ["backbone", "javascript", "oop"] | |
}, | |
{ | |
name : "MixedTweets", | |
id : 3276561 , | |
author : "loicdescotte", | |
description : "How to push 2 mixed searches from twitter with Play2", | |
published : "2012 August", | |
categories : ["PlayFramework", "scala"] | |
}, | |
{ | |
name : "CoffeeScript et SublimeText", | |
id : 3338858 , | |
author : "k33g", | |
description : "Faire fonctionner Coffeescript dans SublimeText2 sous Windows 7", | |
published : "2012 August", | |
categories : ["SublimeText", "coffeescript"] | |
} | |
]}; |
oui, mais ça m'obligerait à tout charger dès le départ. Si j'en avais 1000 (dans l'absolu) ça serait un chouilla long au chargement
bon après c'est un "poc" ;)
me suis inspiré de ce que fait Thomas Fuchs avec micro-js : https://github.com/madrobby/microjs.com/blob/master/data.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cool, mais pourquoi as tu besoin de toutes ces infos, l'ID du gist doit être quasiment suffisant (mis a part les catégories) puisque tu utilises GH3?