Permalink
Browse files

Version update.

  • Loading branch information...
1 parent e4f1b99 commit e42809c0b570b1d00359a553ca61ac50f266fc43 @Dither committed Feb 25, 2012
Showing with 8 additions and 7 deletions.
  1. +2 −2 config.xml
  2. +6 −5 includes/pretty_js.js
View
@@ -1,9 +1,9 @@
<?xml version='1.0' encoding='utf-8'?>
-<widget xmlns="http://www.w3.org/ns/widgets" id="extensions:readable-javascript" version="1.3">
+<widget xmlns="http://www.w3.org/ns/widgets" id="extensions:readable-javascript" version="1.4">
<name>Readable JavaScript</name>
<author href="http://my.opera.com/DitherSky/blog/">Dither</author>
<description xml:lang="en">Extension for auto-formatting and colorizing JavaScript code. Triggered by files with .js extension in their URL or by toolbar button.</description>
- <description xml:lang="ru">Расширение для автоматического форматирования и подсвечивания JavaScript кода. Запускается при обнаружении файла с расширением .js в адресе или клике на кнопке.</description>
+ <description xml:lang="ru">Расширение для автоматического форматирования и подсвечивания JavaScript кода. Запускается при обнаружении файла с расширением .js в адресе или по клику на кнопке.</description>
<preference name="indent_size" value="4"/>
<preference name="preserve_newlines" value="true"/>
<preference name="keep_array_indentation" value="true"/>
View
@@ -1399,11 +1399,12 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[
}
/**
- * Pretty print a chunk of code.
- *
- * @param {string} sourceCodeHtml code as html
- * @return {string} code as html, but prettier
- */
+ * Find all the {@code <pre>} and {@code <code>} tags in the DOM with
+ * {@code class=prettyprint} and prettify them.
+ *
+ * @param {Function?} opt_whenDone if specified, called when the last entry
+ * has been finished.
+ */
window['prettyPrint'] = prettyPrint;
/**
* Contains functions for creating and registering new language handlers.

0 comments on commit e42809c

Please sign in to comment.