Browse Source

fix examples

Robin Herbots 13 years ago
parent
commit
f69b260de5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -356,19 +356,19 @@ Define the radixpoint
 
 
 ```javascript
 ```javascript
 $(document).ready(function(){
 $(document).ready(function(){
-   $("#numeric").inputmask("decimal" { radixPoint: "," });
+   $("#numeric").inputmask("decimal", { radixPoint: "," });
 });
 });
 ```
 ```
 Define the number of digits after the radixpoint
 Define the number of digits after the radixpoint
 
 
 ```javascript
 ```javascript
 $(document).ready(function(){
 $(document).ready(function(){
-   $("#numeric").inputmask("decimal" { digits: 3 });
+   $("#numeric").inputmask("decimal", { digits: 3 });
 });
 });
 ```
 ```
 Grouping support through:  autoGroup, groupSeparator, groupSize
 Grouping support through:  autoGroup, groupSeparator, groupSize
 ```javascript
 ```javascript
 $(document).ready(function(){
 $(document).ready(function(){
-   $("#numeric").inputmask("decimal" { radixPoint: ",", autoGroup: true, groupSeparator: ".", groupSize: 3 });
+   $("#numeric").inputmask("decimal", { radixPoint: ",", autoGroup: true, groupSeparator: ".", groupSize: 3 });
 });
 });
 ```
 ```