Skip to content

Commit

Permalink
edit README and change.log
Browse files Browse the repository at this point in the history
  • Loading branch information
vkiryukhin committed Mar 1, 2012
1 parent acfa3a3 commit 62d9b50
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# vkBeautify

javascript plugin to **pretty-print** or **minify**
text in **XML**, **JSON** and **CSS** formats.
text in **XML**, **JSON**, **CSS** and **SQL** formats.

**Version** - 0.95.01.beta
**Version** - 0.96.00.beta

**Copyright** (c) 2012 Vadim Kiryukhin ( vkiryukhin @ gmail.com )

Expand All @@ -24,13 +24,17 @@ the MIT and GPL licenses:

* `vkbeautify.css(text )` - pretty print CSS text;

* `vkbeautify.sql(text )` - pretty print SQL text;

* `vkbeautify.xmlmin(text [, preserveComments] ` - minify XML
text;

* `vkbeautify.jsonmin(text preserveComments)` - minify JSON text;
* `vkbeautify.jsonmin(text)` - minify JSON text;

* `vkbeautify.cssmin(text [, preserveComments] )` - minify CSS text;

* `vkbeautify.sqlmin(text)` - minify SQL text;

**PARAMETERS:**

`@text` - String; XML, JSON or CSS text to beautify;
Expand All @@ -56,3 +60,7 @@ to true to prevent removing comments from @text;

`var css_min = vkbeautify.cssmin(css\text [, true]);`

`var sql_pp = vkbeautify.sql(sql_text);`

`var sql_min = vkbeautify.sqlmin(sql_text);`

3 changes: 3 additions & 0 deletions change.log
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ This software has been released under the MIT license:
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Version 0.96.beta
New functionality: pretty-print and minify SQL.

Version: 0.95.beta
New functionality: minifying XML, JSON and CSS.
New API stile: object style access "vkbeautify.xml(text)" instead of function style "vkbeautify(text,'xml');"
Expand Down

0 comments on commit 62d9b50

Please sign in to comment.