From 063f790af41cc95782328f87a97108c22a3d0c62 Mon Sep 17 00:00:00 2001 From: Qeole Date: Sun, 29 Mar 2015 03:59:32 +0200 Subject: [PATCH] Correcting broken links in README.md + small details --- README.md | 4 ++-- data/languages-all.json | 2 +- data/languages.json | 2 +- enlight.xpi | Bin 139776 -> 139714 bytes test/test-main.js | 8 +++++--- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3d04d2e..2d2f1e4 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ The highlight.js minimal script included in this module provides support for 22 ## License -The code relative to the add-on itself is placed under the Mozilla Public License v. 2.0 (see file [LICENSE][6]). +The code relative to the add-on itself is placed under the Mozilla Public License v. 2.0 (see file [LICENSE][5]). The code for highlight.js (_i.e._ everything under the `data/highlightjs` directory) was released under the BSD License (see relative [LICENSE][6] file for details). @@ -49,7 +49,7 @@ Other than on the [hilight.js homesite][1], you can find a list of supported lan [1]: https://highlightjs.org [2]: https://blog.mozilla.org/addons/2015/02/10/extension-signing-safer-experience [3]: https://addons.mozilla.org/firefox/addon/enlight -[4]: https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_started) +[4]: https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_started [5]: https://github.com/Qeole/Enlight/blob/master/LICENSE [6]: https://github.com/isagalaev/highlight.js/blob/master/LICENSE [7]: https://github.com/Qeole/Enlight/blob/master/data/languages.json diff --git a/data/languages-all.json b/data/languages-all.json index b027820..fa68196 100644 --- a/data/languages-all.json +++ b/data/languages-all.json @@ -1,5 +1,5 @@ { -"auto" : "", +"auto" : "", "apache" : "Apache", "bash" : "Bash", "cpp" : "C, C++", diff --git a/data/languages.json b/data/languages.json index 6102fe0..dbf54ff 100644 --- a/data/languages.json +++ b/data/languages.json @@ -1,5 +1,5 @@ { -"auto" : "", +"auto" : "", "apache" : "Apache", "bash" : "Bash", "cpp" : "C, C++", diff --git a/enlight.xpi b/enlight.xpi index 51f25aeebe7ae6912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rnG%tMY{16kw$^nXiH;>M<(?Y^W00MI7 a04e^<2(cU>9pDG0aezEzJf~-q2kbv5R3{4n diff --git a/test/test-main.js b/test/test-main.js index dae257b..934e080 100644 --- a/test/test-main.js +++ b/test/test-main.js @@ -55,9 +55,11 @@ exports["test main03 highlight blank"] = function(assert, done) { clickInPanel("auto"); main.doHighlight(); utils.waitUntil(function(){return !main.panel.isShowing;}).then(() => { - assert.ok(!main.button.state("tab").checked, "03c button toggled off"); - assert.ok(!main.panel.isShowing, "03c panel is closed"); - done(); + utils.waitUntil(function(){return !main.button.state("tab").checked}).then(() => { + assert.ok(!main.button.state("tab").checked, "03c button toggled off"); + assert.ok(!main.panel.isShowing, "03c panel is closed"); + done(); + }); }); }); };