Skip to content

Commit

Permalink
attempt to add support for JSON+HAL
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi Lehman committed Jul 5, 2013
1 parent 0405570 commit 6ffea95
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<project name="jsonview" default="createxpi">
<property name="build.version" value="0.7"/>
<property name="build.version" value="0.8"/>
<property name="xpi.name" value="${ant.project.name}-${build.version}.xpi"/>
<property name="xpi-babelzilla.name" value="${ant.project.name}-${build.version}-babelzilla.xpi"/>

Expand Down
Binary file added jsonview-0.7.xpi
Binary file not shown.
Binary file added jsonview-0.8.xpi
Binary file not shown.
3 changes: 2 additions & 1 deletion src/content/addon-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,5 @@

// Hack to remove FF8+'s built-in JSON-as-text viewer. I'm sure this is the wrong
// place to do this, but it works.
Components.classes['@mozilla.org/categorymanager;1'].getService(Ci.nsICategoryManager).deleteCategoryEntry('Gecko-Content-Viewers', 'application/json', false);
Components.classes['@mozilla.org/categorymanager;1'].getService(Ci.nsICategoryManager).deleteCategoryEntry('Gecko-Content-Viewers', 'application/json', false);
Components.classes['@mozilla.org/categorymanager;1'].getService(Ci.nsICategoryManager).deleteCategoryEntry('Gecko-Content-Viewers', 'application/json+hal', false);
2 changes: 1 addition & 1 deletion src/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Description about="urn:mozilla:install-manifest">

<em:id>jsonview@brh.numbera.com</em:id>
<em:version>0.7</em:version>
<em:version>0.8</em:version>

<em:name>JSONView</em:name>
<em:description>Views JSON in the browser.</em:description>
Expand Down

0 comments on commit 6ffea95

Please sign in to comment.