Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update README.md #34

Merged
merged 1 commit into from

2 participants

@gschammah

Fix commas and colons to make the example object valid javascript objects.

@gschammah gschammah Update README.md
Fix commas and colons to make the example object valid javascript objects.
0d0f8e8
@rlepinski rlepinski merged commit 30fa344 into urbanairship:master
@gschammah gschammah deleted the gschammah:patch-1 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 8, 2013
  1. @gschammah

    Update README.md

    gschammah authored
    Fix commas and colons to make the example object valid javascript objects.
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.md
View
12 README.md
@@ -75,8 +75,8 @@ The Urban Airship javascript API provides standard instances for some of our dat
## Push
Push = {
- message = "Your team just scored!";
- extras = {
+ message: "Your team just scored!",
+ extras: {
"url": "/game/5555"
}
}
@@ -85,10 +85,10 @@ The Urban Airship javascript API provides standard instances for some of our dat
// Quiet time set to 10PM - 6AM
QuietTime = {
- startHour = 22
- startMinute = 0
- endHour = 6
- endMinute = 0
+ startHour: 22,
+ startMinute: 0,
+ endHour: 6,
+ endMinute: 0
}
A push is an object that contains the data associated with a Push. The extras dictionary can contain arbitrary key and value data, that you can use inside your application.
Something went wrong with that request. Please try again.