Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:04
    greenkeeper[bot] commented #5392
  • 01:04

    greenkeeper[bot] on core-js-3.5.0

    chore(package): update core-js … (compare)

  • Dec 11 18:34
    greenkeeper[bot] labeled #5444
  • Dec 11 18:34
    greenkeeper[bot] opened #5444
  • Dec 11 18:34

    greenkeeper[bot] on can-observable-mixin-1.0.7

    fix(package): update can-observ… (compare)

  • Dec 11 18:30

    cherifGsoul on update-infrastructure-page

    (compare)

  • Dec 11 18:30

    cherifGsoul on master

    Update infrastructure page with… (compare)

  • Dec 11 18:30
    cherifGsoul closed #5441
  • Dec 11 18:30
    cherifGsoul closed #5417
  • Dec 10 17:40
    cherifGsoul review_requested #5443
  • Dec 10 16:47
    cherifGsoul review_requested #5441
  • Dec 10 16:35
    cherifGsoul synchronize #5441
  • Dec 10 16:35

    cherifGsoul on update-infrastructure-page

    Fix typos (compare)

  • Dec 10 10:01
    jkeruzec starred canjs/canjs
  • Dec 09 18:59
    cherifGsoul review_requested #5443
  • Dec 09 18:59
    cherifGsoul opened #5443
  • Dec 09 18:51

    cherifGsoul on document-inserted-removed-can6

    Add inserted/removed events to … (compare)

  • Dec 09 15:38
    greenkeeper[bot] labeled #5442
  • Dec 09 15:38
    greenkeeper[bot] opened #5442
  • Dec 09 15:38

    greenkeeper[bot] on can-view-live-5.0.1

    fix(package): update can-view-l… (compare)

Kevin Phillips
@phillipskevin
@/all I posted some rough designs for the CanJS Devtools Panel: https://github.com/canjs/devtools/issues/15#issuecomment-436498466
take a look and let me know what you think if you have some time
Viktor Busko
@Lighttree
Guys, is there place where I can find changes in latest CanJS release ?
https://github.com/canjs/canjs/blob/master/changelog.md
This Changelog wasn't updated since canjs@3
Justin Meyer
@justinbmeyer
@kcoleman731 here is a good way: https://donejs.com/plugin.html
Chasen Le Hara
@chasenlehara
@Lighttree Did going through that releases page help? I’ve been thinking about creating a page with just a list of version numbers (with links to their release notes) because the GitHub releases page has everything mixed in (different major versions, pre-releases, etc.)
Julian
@pYr0x
today is canjs meetup?
Kevin Phillips
@phillipskevin
yes @pYr0x !
Julian
@pYr0x
nice... can i attend ?
Kevin Phillips
@phillipskevin
of course
our time changed here... so it's in an hour
Julian
@pYr0x
in germany too ;)
Viktor Busko
@Lighttree

@Lighttree Did going through that releases page help? I’ve been thinking about creating a page with just a list of version numbers (with links to their release notes) because the GitHub releases page has everything mixed in (different major versions, pre-releases, etc.)

@chasenlehara Yes, I found what I was looking for. But it wasn't easy to find in from canjs.com. I just noticed minor version change, but it was fairly hard to understand whats new I just remember that there was such "releases" page before.

Paul Tichonczuk
@tracer99
What is the latest version of steal that we can reasonably use if stuck on CanJS 2.3?
Matthew Phillips
@matthewp
Any version should work.
You just need to use this in more recent versions: https://gist.github.com/matthewp/f3cb8da57e33f2ecbadb18b4cb6a6495
Paul Tichonczuk
@tracer99
We're getting an error trying to import stache files via steal syntax. Are we missing a config?
Matthew Phillips
@matthewp
Maybe "plugins" ?
steal.plugins = ["can/view/stache/system"]
Paul Tichonczuk
@tracer99
thanks
that's probably it
Matthew Phillips
@matthewp
or maybe just steal.plugins = ["can"}
plugins just says "please preload the configuration in this package.json"
Paul Tichonczuk
@tracer99
Thanks. That last one worked!
nmingneau
@nmingneau
Hi, this codepen gives a different result in edge compared to other browsers. https://codepen.io/nmingneau/pen/PxWPLm?editors=1010
nmingneau
@nmingneau
Can.construct also seems to be looping through init and newInstance long after rendering seems to be complete for my project. This is not the case in chrome, firefox or safari.
Andrei Balmus
@abalmush
hi guys can someone help me with can-migrate? for some reasons html files are not updated for example: {product}=“dataProduct” needs to be change to product:bind=“dataProduct” but it’s still the old one
I’m runningthis command can-migrate -a src/**/*.{js,md,html,stache,component} -t can-stache-bindings/
Kevin Phillips
@phillipskevin
you need to wrap your glob patterns in quotes @abalmush
otherwise bash will automatically try to expand them before passing them to can-migrate
Andrei Balmus
@abalmush
ah ok thank you very much!
Andrei Balmus
@abalmush
@phillipskevin sorry to bother you again. Do you know if ther are any codemods that fix Controls events. Before in CanJs2 I used something like this: ':input:not(:button) focusout': 'onFocusoutEventHandler’, in my Controls to exclude buttons, but now it looks like it is not working and I need to fix it somehow
Kevin Phillips
@phillipskevin
does it work if you do '{element} :input:not(:button) focusout'?
Andrei Balmus
@abalmush
let me check
Andrei Balmus
@abalmush
no luck, I’m trying to debug it and it still shows :input:not(:button) without {element}
Screen Shot 2018-11-13 at 5.43.01 PM.png
node_modules/can-dom-events/helpers/-make-delegate-event-tree.js - line 31
Kevin Phillips
@phillipskevin
is the {element} inside your quotes?
I messed it up when I typed it originally
Andrei Balmus
@abalmush
yes it is inside and I think this is because of jquery is not a part of canjs anymore, so the selectors I used worked with jQuery but they are not working in document.querySelector I will try using vanilla queries that works in document.querySelector
Kevin Phillips
@phillipskevin
oh, yeah, good catch
Andrei Balmus
@abalmush
for example '{element} [type="checkbox"] change’: onCheckboxChanged worked ok
Gregg Roemhildt
@roemhildtg
Hi guys, I've got a side project I've dabbled with in the past and would like to try integrating more tightly with Canjs. Its using Openlayers - a sort of observable mapping library. It has these observable list-like objects called collections, and I'm having issues getting it to work with canjs templates for of, each, etc.
Can anyone lend any tips? Here's the main file where I am adding canjs symbols to the list-like element: https://github.com/roemhildtg/can-ol-symbol/blob/master/lib/assignCanListSymbols.js
There's also a basic demo that can be ran with steal/http-server here: https://github.com/roemhildtg/can-ol-symbol/blob/master/index.html
nmingneau
@nmingneau
Hi, can someone please help me with this issue in edge? https://codepen.io/nmingneau/pen/PxWPLm?editors=1010 It seems to be a bug in can.js but i'm unable to fix it in a reasonable timeframe.
nmingneau
@nmingneau
I made an issue: canjs/can-construct#68
Viktor Busko
@Lighttree
Guys maybe someone use some technique for CSS encapsulation in CanJS ? As far as I know CanJS componenents can't encapsulate styles (not sure about DoneJS).
For now I can see only "CSS Modules" as possible technique.
Gregg Roemhildt
@roemhildtg

I typically use less, and I wrap each compoennt's styles in something like this:

component-name {
    .child-classname { ...}
}

So the output css is always

component-name .child-classname {}