-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from rhyek/feature-initialized
feature: add initialized flag
- Loading branch information
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<h2 id="title">Ember Master Tab demo</h2> | ||
<p>Is this the master tab? <strong>{{#if masterTab.isMasterTab}}Yes{{else}}No{{/if}}</strong></p> | ||
<p>Is this the master tab? <strong>{{#if this.masterTab.isMasterTab}}Yes{{else}}No{{/if}}</strong></p> | ||
<pre> | ||
<strong>Current server time (lock)</strong> : {{serverTimeLock.currentTime}} <button disabled={{masterTab.isMasterTab}} {{action "updateTimeLock"}}>Update here</button> | ||
<strong>Current server time (run)</strong> : {{serverTimeRun.currentTime}} | ||
<strong>Current server time (sse)</strong> : {{serverTimeSse.currentTime}} | ||
<strong>Current server time (lock)</strong> : {{this.serverTimeLock.currentTime}} <button type="button" disabled={{this.masterTab.isMasterTab}} {{action "updateTimeLock"}}>Update here</button> | ||
<strong>Current server time (run)</strong> : {{this.serverTimeRun.currentTime}} | ||
<strong>Current server time (sse)</strong> : {{this.serverTimeSse.currentTime}} | ||
|
||
<strong>Counter [is master tab]</strong> : {{counterIsMasterTab}} | ||
<strong>Counter [is not master tab]</strong>: {{counterIsNotMasterTab}} | ||
<strong>Counter [is master tab]</strong> : {{this.counterIsMasterTab}} | ||
<strong>Counter [is not master tab]</strong>: {{this.counterIsNotMasterTab}} | ||
</pre> | ||
{{outlet}} |