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)

Gira Minus
@gKreator
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?
Gira Minus
@gKreator
yes
very strange, didnt run into this in canjs2
Brad Momberger
@bmomberger-bitovi
The usual first place I'd run to to debug this is to determine if the resize_one that got bound to window was the same function as the one you're trying to remove.