Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 16 20:07
    matthewp commented #5384
  • Oct 16 20:06
    matthewp labeled #5384
  • Oct 16 20:06
    matthewp opened #5384
  • Oct 16 19:53
    matthewp opened #5383
  • Oct 16 16:23
    phillipskevin closed #4841
  • Oct 15 21:43

    phillipskevin on master

    Update dist for release (compare)

  • Oct 15 21:43

    phillipskevin on v6.1.1

    Update dist for release 6.1.1 (compare)

  • Oct 15 21:34

    phillipskevin on can-observable-mixin-1.0.2

    (compare)

  • Oct 15 21:34

    phillipskevin on master

    fix(package): update can-observ… Merge branch 'master' into gree… Merge pull request #5382 from c… (compare)

  • Oct 15 21:34
    phillipskevin closed #5382
  • Oct 15 21:34

    phillipskevin on can-make-map-1.2.2

    (compare)

  • Oct 15 21:34

    phillipskevin on master

    fix(package): update can-make-m… Merge pull request #5380 from c… (compare)

  • Oct 15 21:34
    phillipskevin closed #5380
  • Oct 15 20:30
    phillipskevin synchronize #5382
  • Oct 15 20:30

    phillipskevin on can-observable-mixin-1.0.2

    fix(package): update can-observ… fix(package): update can-simple… Merge pull request #5372 from c… and 2 more (compare)

  • Oct 15 20:30
    phillipskevin opened #5382
  • Oct 15 20:28

    phillipskevin on can-simple-map-4.3.3

    (compare)

  • Oct 15 20:28

    phillipskevin on master

    fix(package): update can-simple… Merge pull request #5378 from c… (compare)

  • Oct 15 20:28
    phillipskevin closed #5378
  • Oct 15 20:26

    phillipskevin on can-observable-mixin-1.0.1

    (compare)

Frank Lemanschik
@frank-dspeed
recode
something like that is the only solution
Eben
@eben-roux
the problem is that folks also don't want to get stuck on an older version
I found that getting support for the older ember code was basically impossible
Frank Lemanschik
@frank-dspeed
thats why webcomponents will solve a lot
they are better exchange able
and solve many version clashes
with webcomponents and isolated dom window objects
we can do one component can 2
other can 3 and so on
Eben
@eben-roux
I don't know if side-by-side versions are possible... or are they?
Frank Lemanschik
@frank-dspeed
they are i have such stuff running
but you need really to think a lot because the biggest problems are globals
but to make it short yes its today possible to run diffrent steal + canjs versions
and even mix that up
but its more complex then it should be
Eben
@eben-roux
interesting... would that entail two main scripts for steals... each pointing to a different version?
Frank Lemanschik
@frank-dspeed
yes
thats not a problem
steal assigns to window as global
so you simply need 2 diffrent window objects
for example a iframe generates a secund window object
and there are also diffrent other methods to get that
and a iframed window can controll outer window
Eben
@eben-roux
ah, ok
iframe (where is the puke emoticon) :P
I thought iframes are dead... they certainly are hacky though
Frank Lemanschik
@frank-dspeed
no they now become one of the most usefull things ever
but more for isolation and controll flow
not for displaying view able content in them
Eben
@eben-roux
goodness...
Frank Lemanschik
@frank-dspeed
for example i have done the following in production and its stable
i did create a secund html diffrent steal canjs version
that gets imported via html link rel import
and then this window syncs up with the importing document
so your index html requires legay.html
and legacy.html attaches to your index.html view
legacy sorry not legay
lol
Eben
@eben-roux
but isn't canjs more for displaying things anyway...
Frank Lemanschik
@frank-dspeed
it is for that :)
and it does exactly that
but not in its own window
in this POC
Eben
@eben-roux
I'm sure there are ways to have different versions load but it may be more effort than it is worth
Frank Lemanschik
@frank-dspeed
sure that also possible to load that in the same window
but there is no need for that
import and iframe are good methods
this way every thing works as befor
Eben
@eben-roux
iframe is certainly an option