[Pkg-javascript-commits] [SCM] tile source backend for online tile sources branch, master, updated. upstream/0.0.2-2-g9047b87

David Paleino dapal at debian.org
Fri Oct 28 14:58:57 UTC 2011


The following commit has been merged in the master branch:
commit 9047b877c41ea54b9e125d3c2a4db8d9d7f482ab
Author: David Paleino <dapal at debian.org>
Date:   Fri Oct 28 16:58:45 2011 +0200

    Uploading to NEW

diff --git a/debian/changelog b/debian/changelog
index a82a1fd..cb94846 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-node-tilejson (0.0.2-1) UNRELEASED; urgency=low
+node-tilejson (0.0.2-1) unstable; urgency=low
 
   * Initial release
 
- -- David Paleino <dapal at debian.org>  Sun, 23 Oct 2011 01:12:49 +0200
+ -- David Paleino <dapal at debian.org>  Fri, 28 Oct 2011 16:58:40 +0200
diff --git a/lib/tilejson.js b/lib/tilejson.js
index 9187e33..1c60e8a 100644
--- a/lib/tilejson.js
+++ b/lib/tilejson.js
@@ -108,7 +108,7 @@ TileJSON.prototype._open = function(uri) {
         tilejson.cache = new sqlite3.Database('', this);
     }, function(err) {
         if (err) return error(err);
-        fs.readFile(__dirname + '/schema.sql', 'utf8', this);
+        fs.readFile('/usr/share/node-tilejson/schema.sql', 'utf8', this);
     }, function(err, schema) {
         if (err) return error(err);
         tilejson.cache.exec(schema, this);

-- 
tile source backend for online tile sources



More information about the Pkg-javascript-commits mailing list