[sushi] Don't ship another copy of format.js
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] Don't ship another copy of format.js
- Date: Sat, 11 Feb 2017 23:17:43 +0000 (UTC)
commit b31238ec34922454e5a95ab9ebdfb0ea4edd62ee
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Feb 11 15:15:38 2017 -0800
Don't ship another copy of format.js
We can just use the one in gjs.
src/Makefile-js.am | 1 -
src/js/ui/main.js | 2 +-
src/js/util/format.js | 86 -------------------------------------------------
3 files changed, 1 insertions(+), 88 deletions(-)
---
diff --git a/src/Makefile-js.am b/src/Makefile-js.am
index ba8e318..56e1380 100644
--- a/src/Makefile-js.am
+++ b/src/Makefile-js.am
@@ -22,7 +22,6 @@ dist_jsviewers_DATA = \
jsutildir = $(pkgdatadir)/js/util
dist_jsutil_DATA = \
js/util/constants.js \
- js/util/format.js \
js/util/totemMimeTypes.js
jsutil_built_sources = \
diff --git a/src/js/ui/main.js b/src/js/ui/main.js
index 90f7288..714b9fe 100644
--- a/src/js/ui/main.js
+++ b/src/js/ui/main.js
@@ -23,12 +23,12 @@
*
*/
+const Format = imports.format;
const Gettext = imports.gettext;
const GLib = imports.gi.GLib;
const Application = imports.ui.application;
const Path = imports.util.path;
-const Format = imports.util.format;
const Utils = imports.ui.utils;
const Tweener = imports.ui.tweener;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]