Permalink
Browse files

update version

add null check
  • Loading branch information...
benmmurphy committed Nov 13, 2010
1 parent 79a70a5 commit 8722aafef72ca20a9fa7bbaa959ed4299b7b692e
Showing with 7 additions and 2 deletions.
  1. +6 −1 chrome/content/module.js
  2. +1 −1 install.rdf
View
@@ -52,7 +52,12 @@ var jsb = function() {
},
updateContentTypes: function() {
- contentTypes = this.prefs.getCharPref("contenttypes").split(",");
+ var str = this.prefs.getCharPref("contenttypes");
+ if (str == null) {
+ return;
+ }
+
+ contentTypes = str.split(",");
},
register : function() {
View
@@ -8,7 +8,7 @@
<!-- Required Items -->
<em:id>jsdeminifier@murphy.ben.name</em:id>
<em:name>JS Deminifier</em:name>
- <em:version>1.0.2</em:version>
+ <em:version>1.0.3</em:version>
<em:targetApplication>

0 comments on commit 8722aaf

Please sign in to comment.