Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 18 22:20
    greenkeeper[bot] labeled #5391
  • Oct 18 22:20
    greenkeeper[bot] opened #5391
  • Oct 18 22:20

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

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

  • Oct 18 19:08
    cherifGsoul labeled #5390
  • Oct 18 19:07
    cherifGsoul opened #5390
  • Oct 18 18:45
    greenkeeper[bot] labeled #5389
  • Oct 18 18:45
    greenkeeper[bot] opened #5389
  • Oct 18 18:45

    greenkeeper[bot] on can-observable-bindings-1.3.0

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

  • Oct 18 18:29

    matthewp on master

    Update dist for release (compare)

  • Oct 18 18:29

    matthewp on v6.1.3

    Update dist for release 6.1.3 (compare)

  • Oct 18 17:59

    matthewp on can-observable-array-1.0.2

    (compare)

  • Oct 18 17:59

    matthewp on master

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

  • Oct 18 17:59
    matthewp closed #5388
  • Oct 18 16:46
    greenkeeper[bot] labeled #5388
  • Oct 18 16:46
    greenkeeper[bot] opened #5388
  • Oct 18 16:46

    greenkeeper[bot] on can-observable-array-1.0.2

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

  • Oct 18 12:45
    greenkeeper[bot] labeled #5387
  • Oct 18 12:45
    greenkeeper[bot] opened #5387
  • Oct 18 12:45

    greenkeeper[bot] on can-stache-element-1.0.2

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

  • Oct 18 09:49
    chasenlehara edited #5384
Gira Minus
@gKreator
blob
why would this be happening
lol
omg
im giving up
after 3 more hours
Brad Momberger
@bmomberger-bitovi
Weird that there's meow but not driver_name
Gira Minus
@gKreator
well technically it wants 123 and it cannot be 123 since it is a number
Brad Momberger
@bmomberger-bitovi
Well also, 123asd is a value of a prop and also a prop itself.
That's not right. Something is off.
Gira Minus
@gKreator
canjs is broken
Brad Momberger
@bmomberger-bitovi
can I see some snippets of your stache?
Gira Minus
@gKreator
blob
Brad Momberger
@bmomberger-bitovi
Oh, minor quibble here.
Gira Minus
@gKreator
hmm?
Brad Momberger
@bmomberger-bitovi
You have the {($value)} attribute values in magic tags.
Gira Minus
@gKreator
omg
:/
fml
Brad Momberger
@bmomberger-bitovi
{{truck.truckNumber}} should be just truck.truckNumber, for example
Gira Minus
@gKreator
yes
thats why it was binding back the model back to itself in some weird space time event
not sure how my cpu did it
Brad Momberger
@bmomberger-bitovi
Is that unblocking you?
Gira Minus
@gKreator
yup that fixed it
just gotta make sure it works with ajax now so im rewriting it again i deleted stuff to debug
thanks tho
Brad Momberger
@bmomberger-bitovi
:+1:
Gira Minus
@gKreator
and ajax works
Brad Momberger
@bmomberger-bitovi
Gooood stuff
Gira Minus
@gKreator
omg i spent like 8 hours on this in the last like 2 days
even made a jsbin and such
i wish canjs would throw an error for dumb stuff like that but ohh well
Brad Momberger
@bmomberger-bitovi
It's not necessarily wrong, it's just like doing double dollarsigns in PHP, like "take this value and use it as the key"
Gira Minus
@gKreator
ahh true
Brad Momberger
@bmomberger-bitovi
Maybe it's not the way an opinionated framework would do it. But without that we wouldn't have any way of dynamically declaring bindings
We should solicit some community feedback, and see who's more harmed by rejecting it vs not.
Gira Minus
@gKreator
and canjs gods, im sorry for ever doubting you
Gira Minus
@gKreator
:D
Gira Minus
@gKreator
http://canjs.com/doc/can-stache.helpers.if.html returns true if the property is an empty array
is there any way around that besides creating a helper or something?
Michael Price
@web-mech
{{#if someEmptyArray.length}}stuff{{/if}}
Gira Minus
@gKreator
thx
Michael Price
@web-mech
np
Gira Minus
@gKreator
Whats a good way to have like global stache helpers, just via leakscope?
Gira Minus
@gKreator
http://canjs.com/doc/can-stache.Helpers.html i guess registerHelpers is global, nice
Gira Minus
@gKreator
blob
removeEventListener does not work, guessing it has something to do with the handlers
Brad Momberger
@bmomberger-bitovi
You're saying that the events stay bound to the window after resize_stop is called?