These are chat archives for canjs/canjs

4th
Feb 2016
Mason Shin
@minsooshin
Feb 04 2016 21:03
I am not sure why I need to use for key in stache
but from the browser console it says use %key instead of @key warning
@justinbmeyer ?
Justin Meyer
@justinbmeyer
Feb 04 2016 21:16
I'll fix the docs
it's %key
Mason Shin
@minsooshin
Feb 04 2016 21:19
cool
I already changed it to %key
since can.js shows the warning message on chrome console
I thought that is the suggested way to use key
one more thing is there is not doc for #eq in stache helper
it has #is helper, but no #eq helper doc
Alex
@whitecolor
Feb 04 2016 22:32
Tweak canjs components in realtime without page reload and even without losing app's and component's state
https://cloud.githubusercontent.com/assets/736697/12709893/5b1727e8-c8d2-11e5-8f69-faf73ede4559.gif
Julian
@pYr0x
Feb 04 2016 23:13
it is a great alternative to simple http-server with steal-tools-livereload. since it supports fs with polling file changes which works also with network shares
but it does not support ssr. so it is more for a single web app in dev mode
Alex
@whitecolor
Feb 04 2016 23:18
well yes it tends purely for dev needs to enhance DX while developing UI
ssr is is server part you can proxy to it, if you need it while dev
and can-hot actually can be used in any flow (with hot reloading enabled)
Julian
@pYr0x
Feb 04 2016 23:22
do you test the babel es5 compiling?
Alex
@whitecolor
Feb 04 2016 23:23
wdym?
Julian
@pYr0x
Feb 04 2016 23:23
i saw you add **/*.js
Alex
@whitecolor
Feb 04 2016 23:23
it should work in demo app with watchalive updated
it works with watchalive 1.1.6 I believe
Julian
@pYr0x
Feb 04 2016 23:24
i would see the compiled es5 in the network connection?
Alex
@whitecolor
Feb 04 2016 23:24
right
Julian
@pYr0x
Feb 04 2016 23:24
ok wait i will test
:)
Alex
@whitecolor
Feb 04 2016 23:26
blob
go ahead)
Julian
@pYr0x
Feb 04 2016 23:30
hmmm
i dont know if i am doing something wrong
but i had still the es6 code in my network connection
blob
Alex
@whitecolor
Feb 04 2016 23:35
what watchalive version and can-hot?
Julian
@pYr0x
Feb 04 2016 23:36
cloned it just from git
Alex
@whitecolor
Feb 04 2016 23:36
blob
Julian
@pYr0x
Feb 04 2016 23:37
hmm+
blob
had an old version
Alex
@whitecolor
Feb 04 2016 23:38
yes need 1.1.6
Julian
@pYr0x
Feb 04 2016 23:42
ugh... i installed watchalive globally :)
Alex
@whitecolor
Feb 04 2016 23:43
I use it globally
but it will use local dep by default
Julian
@pYr0x
Feb 04 2016 23:43
yes, but i forgot to update watchalive globally ;)O
Alex
@whitecolor
Feb 04 2016 23:44
so I don't include it in my projects just use watchalivefrom cmd
Julian
@pYr0x
Feb 04 2016 23:44
yes me too
so now i worked like charm :)
great work
i would like to see your projects on npm
maybe you can tag your releases in git / github
Alex
@whitecolor
Feb 04 2016 23:45
it is all on npm, what do projects?
perfect !
:)
Alex
@whitecolor
Feb 04 2016 23:46
npm install watchalive can-hot steal-hmr steal-lp))
Julian
@pYr0x
Feb 04 2016 23:46
tagging your releases will be great
Alex
@whitecolor
Feb 04 2016 23:47
why?
Julian
@pYr0x
Feb 04 2016 23:47
so we can see a history. and it will be good to have semver
you haven't to tagging, but i liked it on your other projects
Alex
@whitecolor
Feb 04 2016 23:49
I just didn't dig in to it) just publish )
Julian
@pYr0x
Feb 04 2016 23:49
ok
one thing.
you can request jquery 2.2
in your package.json
"jquery": ">=1.9.0 <1.12.0 || >=2.1.0 <=2.2.0",
like the other canjs project did
Alex
@whitecolor
Feb 04 2016 23:51
ok, its all dev-deps
Julian
@pYr0x
Feb 04 2016 23:52
why is can a dev deps?
oh because you did a build for production?