seed r686 - trunk/examples
- From: hortont svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r686 - trunk/examples
- Date: Thu, 8 Jan 2009 20:56:50 +0000 (UTC)
Author: hortont
Date: Thu Jan 8 20:56:50 2009
New Revision: 686
URL: http://svn.gnome.org/viewvc/seed?rev=686&view=rev
Log:
ROBB! It's /usr/bin/env seed...
Modified:
trunk/examples/json-reddit.js
Modified: trunk/examples/json-reddit.js
==============================================================================
--- trunk/examples/json-reddit.js (original)
+++ trunk/examples/json-reddit.js Thu Jan 8 20:56:50 2009
@@ -1,5 +1,7 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
+
Seed.import_namespace("Gio");
+
var redditurl = Gio.file_new_for_uri("http://reddit.com/.json");
var reddit = JSON.parse(redditurl.read().get_contents());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]