Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #55 from cdumez/date_typo
Browse files Browse the repository at this point in the history
Fix typo in one of the examples
  • Loading branch information
Christophe Dumez committed Nov 12, 2013
2 parents b56912a + df58fa9 commit da2bea1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ <h1>
Task Scheduler API Specification

</h1>
<h2 class="no-num no-toc" id="editor-draft-—-1-november-2013">
Editor Draft — 1 November 2013
<h2 class="no-num no-toc" id="editor-draft-—-12-november-2013">
Editor Draft — 12 November 2013
</h2>
<dl>
<dt>
Expand Down Expand Up @@ -157,7 +157,7 @@ <h2 id="introduction"><span class="secno">1 </span>
alert("Sorry, couldn't set the alarm: " + error);
}

navigator.taskScheduler.add(date.now() + (10 * 60000), {
navigator.taskScheduler.add(Date.now() + (10 * 60000), {
message: "It's been 10 minutes, your soup is ready!"
}).then(onTaskAdded, onError);
</pre>
Expand Down
2 changes: 1 addition & 1 deletion index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h2 id="introduction">
alert("Sorry, couldn't set the alarm: " + error);
}

navigator.taskScheduler.add(date.now() + (10 * 60000), {
navigator.taskScheduler.add(Date.now() + (10 * 60000), {
message: "It's been 10 minutes, your soup is ready!"
}).then(onTaskAdded, onError);
</pre>
Expand Down

0 comments on commit da2bea1

Please sign in to comment.