garyfeng / togetherjs

A service for your website that makes it surprisingly easy to collaborate in real-time.
https://togetherjs.com
Mozilla Public License 2.0
0 stars 0 forks source link

TogetherJS and AngularJS #6

Open garyfeng opened 8 years ago

garyfeng commented 8 years ago

The two don't seem to mix well.

http://stackoverflow.com/questions/34168608/how-to-synchronize-angular-apps-with-togetherjs

garyfeng commented 8 years ago

but see line 63 of together.js, with pull history at https://github.com/mozilla/togetherjs/pull/802

Turning this on should allow working in Angular-based SPAs (assuming they use hash for routing).

    // When true, we treat the entire URL, including the hash, as the identifier
    // of the page; i.e., if you one person is on `http://example.com/#view1`
    // and another person is at `http://example.com/#view2` then these two people
    // are considered to be at completely different URLs
    includeHashInUrl: false,