Update jQuery.

This commit is contained in:
Rico Sta. Cruz 2014-06-26 16:43:36 +08:00
parent 8a094bbe93
commit 3602c74e7a
2 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,16 @@ title: jQuery
layout: default layout: default
--- ---
### Traversing
.children()
.closest('div')
.filter(':selected')
.find('div')
.has('div')
.first()
### Extending selectors ### Extending selectors
// $(":inline") // $(":inline")

View File

@ -13,6 +13,7 @@ layout: default
### Numbers ### Numbers
number_to_currency 20.33 number_to_currency 20.33
number_to_currency 20.33, precision: 0
number_with_precision 3.14159, precision: 2 number_with_precision 3.14159, precision: 2
number_to_percentage 32 #=> "32%" number_to_percentage 32 #=> "32%"
number_with_delimiter 2048 #=> "2,048" number_with_delimiter 2048 #=> "2,048"