Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 18 21:05

    nlundquist on master

    Update dist for release (compare)

  • Nov 18 21:05

    nlundquist on v6.2.6

    Update dist for release 6.2.6 (compare)

  • Nov 18 20:22
    cherifGsoul review_requested #5425
  • Nov 18 20:22
    cherifGsoul commented #5425
  • Nov 18 20:19
    cherifGsoul synchronize #5425
  • Nov 18 20:19

    cherifGsoul on obserbale-properties-update-debugging-guid

    Fix observable properties wordi… (compare)

  • Nov 18 20:12

    nlundquist on master

    update can-stache-converters de… (compare)

  • Nov 18 20:12
    nlundquist closed #5424
  • Nov 18 19:24
    cherifGsoul review_requested #5425
  • Nov 18 19:24
    cherifGsoul opened #5425
  • Nov 18 19:21

    cherifGsoul on obserbale-properties-update-debugging-guid

    Remove ViewModel wording from d… (compare)

  • Nov 18 19:20

    phillipskevin on same-as-master

    (compare)

  • Nov 17 21:58
  • Nov 14 17:40
    nlundquist edited #5424
  • Nov 14 17:40
    nlundquist edited #5424
  • Nov 14 17:39
    nlundquist opened #5424
  • Nov 14 17:39
    nlundquist review_requested #5424
  • Nov 14 17:39

    nlundquist on 107-update-converter-demos

    update can-stache-converters de… (compare)

  • Nov 14 14:32
    greenkeeper[bot] labeled #5423
  • Nov 14 14:32
    greenkeeper[bot] opened #5423
Frank Lemanschik
@frank-dspeed
bundle depth and main depth are still working as expected as i tryed to tell you
Kevin Phillips
@phillipskevin
let it go
no need to argue about that issue anymore
I don’t want to read about it anymore :smile:
Frank Lemanschik
@frank-dspeed
ya lost a lot of money too
Christopher Oliphant
@RALifeCoach
good because I am tired of typing about it
Frank Lemanschik
@frank-dspeed
i should work again
but learnd much today
Christopher Oliphant
@RALifeCoach
as did I - thanks to all
Kevin Phillips
@phillipskevin
@RALifeCoach you might also want to minify your build
that option isn’t in our script
Christopher Oliphant
@RALifeCoach
I don’t need to - the CMS takes all JS files, merges them into one file and minifies them
Kevin Phillips
@phillipskevin
ok
like magic
except when you don’t want to do that :smile:
Christopher Oliphant
@RALifeCoach
in the QA version of the system the files are not minified and that helps with debugging
it’s what we are used to working with
tomorrow I will build a couple of components using the global can and see how it goes
Frank Lemanschik
@frank-dspeed
remember to load jquery befor it
remember to use on dom ready events
then your on a good way
Frank Lemanschik
@frank-dspeed
Question who created this and has access to it?
http://www.jsdelivr.com/projects/canjs
@All
Gregg Roemhildt
@roemhildtg
How can I prevent a form from submitting in a component when the enter key is pressed in canjs 3? Currently, I have
($submit)="noop" in the template and noop(){ return false; } in the viewmodel but the form is still being submitted.
Gregg Roemhildt
@roemhildtg
It looks like the problems a little more complex than that. I can't seem to reproduce in a simple jsbin.
Nico R.
@nriesco
@roemhildtg if you have “access” to the event you might use preventDefault (https://developer.mozilla.org/en/docs/Web/API/Event/preventDefault)
Gregg Roemhildt
@roemhildtg
I think what's going on is an error is thrown somewhere along the line.
Then the return false isn't being executed and the page is redirected
Nico R.
@nriesco
well you can try with a console log before the return line and see if it is executed
Gregg Roemhildt
@roemhildtg
Just stepping through it... it looks like the return is being executed, but somewhere in a parent component its throwing an error. Its looking like something I'm doing wrong.
Gregg Roemhildt
@roemhildtg
@nriesco you're right, preventDefault does fix the issue. :+1:
Nico R.
@nriesco
Great!
Eben
@eben-roux
mope.io
Frank Lemanschik
@frank-dspeed
Eben
is this your project?
Gregg Roemhildt
@roemhildtg
Good day, quick question on canjs 3. (I know I have a lot of questions) In the previous version, can.Map.define objects could have a set function which would be called when the property is initialized (like with a default value) or set. But does this still happen in version 3? http://jsbin.com/kepixenonu/edit?html,js,console,output
Frank Lemanschik
@frank-dspeed
maybe you should watch the fresh new stylish guids and page for it? :D
go on the left side to infrastructure ecosystem and all that
and you will have a much better understanding and overview about the options and whats used
if you have any questions that this don't solves plz tell it here so some one can write something about that
Kevin Phillips
@phillipskevin
@roemhildtg can-map-define is the same as what you’re talking about from 2.3
Frank Lemanschik
@frank-dspeed
@phillipskevin but the name changed a bit var DefineMap = require("can-define/map/map");
Kevin Phillips
@phillipskevin
no
can-map-define is the same
can-define/map/map is a slightly different thing
Frank Lemanschik
@frank-dspeed
ah now we are on the same point :)
Gregg Roemhildt
@roemhildtg
Oh, I see.
Kevin Phillips
@phillipskevin
can-map/can-map-define has attr() and works the same as the Map and define plugin in 2.3