diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/movies.coffee')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/movies.coffee | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/movies.coffee b/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/movies.coffee deleted file mode 100644 index 86fb5b0c..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/movies.coffee +++ /dev/null @@ -1,13 +0,0 @@ -# List movies from kids-in-mind.com - -window.cbfunc = (data) -> - globaldata = data - list = data.query.results.movie - for item in list - console.log item.title + ' [' + item.rating.MPAA.content + ']' - phantom.exit() - -el = document.createElement 'script' -el.src = -"http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20movies.kids-in-mind&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=window.cbfunc" -document.body.appendChild el |