summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2013-09-20 13:11:36 -0700
committerPhilip Chimento <philip@endlessm.com>2013-09-23 15:40:54 -0700
commit3f909167192a68c036a78cdfa1333a86b368f3d8 (patch)
tree70fa94b71f190a74c816f3d7ed7f64bbb733e2fc
parent176dac4f4cc3d575687e50dba4c4cc0906402c0d (diff)
Don't forget to import String.format()
Previously, it wasn't imported [endlessm/eos-sdk#310]
-rw-r--r--webhelper/webhelper.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/webhelper/webhelper.js b/webhelper/webhelper.js
index e940778..06912ed 100644
--- a/webhelper/webhelper.js
+++ b/webhelper/webhelper.js
@@ -1,9 +1,12 @@
const Endless = imports.gi.Endless;
+const Format = imports.format;
const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
const WebKit = imports.gi.WebKit;
+String.prototype.format = Format.format;
+
const EOS_URI_SCHEME = 'endless://';
/**