Skip to content

Commit 1ededcd

Browse files
committed
Update example-datasource-javascript.json
1 parent 4d9bf8d commit 1ededcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclotron-svc/examples/example-datasource-javascript.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dataSources": [{
33
"name": "jquery-ajax",
4-
"processor": "/* Loads a list of Cyclotron tags using jQuery.\n Could be done with the JSON Data Source as well.\n */\np = function (promise) {\n /* Start asychronous AJAX call */\n $.getJSON('http://cyclotrondev.karmalab.net/api/tags', function(data) {\n \n /* Resolves the result asynchronously via the provided promise */\n promise.resolve(_.map(data, function (tag) {\n return { 'name': tag }; \n })); \n });\n}",
4+
"processor": "/* Loads a list of Cyclotron tags using jQuery.\n Could be done with the JSON Data Source as well.\n */\np = function (promise) {\n /* Start asychronous AJAX call */\n $.getJSON('http://cyclotron/api/tags', function(data) {\n \n /* Resolves the result asynchronously via the provided promise */\n promise.resolve(_.map(data, function (tag) {\n return { 'name': tag }; \n })); \n });\n}",
55
"type": "javascript"
66
}, {
77
"name": "modernizr",

0 commit comments

Comments
 (0)