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
{ "annots" : [ { "article" : "http://127.0.0.1:8000/articles/1/", | |
"comments" : [ { "comment" : "More Like Fable of Contents!", | |
"url" : "http://127.0.0.1:8000/comments/1/", | |
"user" : "ml", | |
"votes" : 10 | |
}, | |
{ "comment" : "What is a table of contents?", | |
"url" : "http://127.0.0.1:8000/comments/2/", | |
"user" : "brobot", | |
"votes" : 4 |
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
function DSJSInData(config) { | |
} | |
DSJSInData.NAME = "dsjsInData"; | |
DSJSInData.NS = "schema"; | |
Y.extend(DSJSInData, Y.Plugin.Base, { |
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
Y.namespace('tnsg5').Tile = Y.Base.create("tile", Y.Widget,[], { | |
initializer: function () { | |
this.dataSource = this.getDataSourceInstance(); | |
var dsCfg = { | |
request: "cb={}", | |
callback: { | |
//HERE IS WHERE THE FUNCTION IS ADDED | |
success: this.onSuccessfulLoad |