Browse Source

Update README.md

Sebastián Katzer 12 years ago
parent
commit
a9d437dfb0
1 changed files with 3 additions and 9 deletions
  1. 3 9
      README.md

+ 3 - 9
README.md

@@ -99,13 +99,11 @@ window.plugin.notification.local.cancelAll();
 
 
 
 
 ## Examples
 ## Examples
+#### Will fire every week on this day, 60 seconds from now
 ```javascript
 ```javascript
 var now                  = new Date().getTime(),
 var now                  = new Date().getTime(),
     _60_seconds_from_now = new Date(now + 60*1000);
     _60_seconds_from_now = new Date(now + 60*1000);
 
 
-/**
- * Will fire every week on this day, 60 seconds from now.
- */
 window.plugin.notification.local.add({
 window.plugin.notification.local.add({
     id:         1, // is converted to a string
     id:         1, // is converted to a string
     title:      'Great app!',
     title:      'Great app!',
@@ -124,16 +122,12 @@ function background (id) {
     console.log('I WAS IN THE BACKGROUND ID='+id)
     console.log('I WAS IN THE BACKGROUND ID='+id)
 }
 }
 ```
 ```
+#### Pop's up immediately
 ```javascript
 ```javascript
-/**
- * Pop's up immediately
- */
 window.plugin.notification.local.add({ message: 'Great app!' });
 window.plugin.notification.local.add({ message: 'Great app!' });
 ```
 ```
+#### Plays no sound if the notification pop's up
 ```javascript
 ```javascript
-/**
- * Plays no sound if the notification pop's up
- */
 window.plugin.notification.local.add({ sound: null });
 window.plugin.notification.local.add({ sound: null });
 ```
 ```