[Pkg-mozext-commits] [itsalltext] 202/459: * changed the version string to prevent messages about it being out of date. * fixed lint.

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit 4186b6f95bbf53deeb0060c1e5ee28106c872ee7
Author: docwhat at gerf.org <docwhat at gerf.org>
Date:   Mon Apr 9 11:13:52 2007 -0400

    * changed the version string to prevent messages about it being out of
      date.
    * fixed lint.
---
 Makefile                         | 4 ++--
 src/chrome/content/itsalltext.js | 5 +++--
 src/chrome/content/readme.xhtml  | 4 ++--
 src/install.rdf                  | 2 +-
 4 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index a98c006..8915f29 100644
--- a/Makefile
+++ b/Makefile
@@ -90,11 +90,11 @@ $(filter-out %.rdf %.dtd %.xhtml %.js, $(OUTPUT)): build/%: src/%
 
 $(filter %.rdf %.dtd %.xhtml, $(OUTPUT)): build/%: src/%
 	$(Q)mkdir -p $(dir $@)
-	$(Q)cat $< | sed 's/@@VERSION@@/$(VERSION)/g' > $@
+	$(Q)cat $< | sed 's/999.@@VERSION@@/$(VERSION)/g' > $@
 
 $(filter %.js, $(OUTPUT)): build/%.js: src/%.js
 	$(Q)mkdir -p $(dir $@)
-	$(Q)cat $< | sed 's/@@VERSION@@/$(VERSION)/g' | $(JSMIN) > $@
+	$(Q)cat $< | sed 's/999.@@VERSION@@/$(VERSION)/g' | $(JSMIN) > $@
 
 
 ##
diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index 47354f2..67155cd 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -53,7 +53,7 @@ var ItsAllText = function() {
      * A constant, the version number.  Set by the Makefile.
      * @type String
      */
-    that.VERSION = '@@VERSION@@';
+    that.VERSION = '999.@@VERSION@@';
 
     /**
      * A constant, the url to the readme.
@@ -708,7 +708,8 @@ var ItsAllText = function() {
                     browser.selectedTab = browser.addTab(that.README, null);
                     that.preferences._set('lastversion', that.VERSION);
                 } catch(e) {
-                };
+                    // pass
+                }
             }, 100);
         }
     };
diff --git a/src/chrome/content/readme.xhtml b/src/chrome/content/readme.xhtml
index 9749fa1..b7255f8 100644
--- a/src/chrome/content/readme.xhtml
+++ b/src/chrome/content/readme.xhtml
@@ -2,7 +2,7 @@
 g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" >
   <head>
-    <title>Welcome to It's All Text! version @@VERSION@@</title>
+    <title>Welcome to It's All Text! version 999.@@VERSION@@</title>
     <style type="text/css">
       html { background: #abd; color: #000; padding: 0; margin: 0; }
       body { background: #fff; color: #000; margin: 1ex 2em; padding: 1em; 
@@ -15,7 +15,7 @@ g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   </head>
   <body>
     <h1>Welcome to It's All Text!</h1>
-    <p id="ver"> version @@VERSION@@</p>
+    <p id="ver"> version 999.@@VERSION@@</p>
     
     <p> This software is ALMOST version 1.0!</p>
 
diff --git a/src/install.rdf b/src/install.rdf
index be8e187..dc3dbb1 100644
--- a/src/install.rdf
+++ b/src/install.rdf
@@ -12,7 +12,7 @@
                    em:maxVersion="0.8" />
   <RDF:Description RDF:about="urn:mozilla:install-manifest"
                    em:id="itsalltext at docwhat.gerf.org"
-                   em:version="@@VERSION@@"
+                   em:version="999.@@VERSION@@"
                    em:type="2"
                    em:name="It's All Text!"
                    em:description="Edit text using your favorite editor!"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list