Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:14
    greenkeeper[bot] labeled #5449
  • 00:14
    greenkeeper[bot] opened #5449
  • 00:14

    greenkeeper[bot] on can-super-model-2.0.0

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

  • 00:13
    greenkeeper[bot] labeled #5448
  • 00:13
    greenkeeper[bot] opened #5448
  • 00:13

    greenkeeper[bot] on can-define-rest-model-2.0.0

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

  • 00:12
    greenkeeper[bot] labeled #5447
  • 00:12
    greenkeeper[bot] opened #5447
  • 00:12

    greenkeeper[bot] on can-define-realtime-rest-model-2.0.0

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

  • 00:07
    greenkeeper[bot] labeled #5446
  • 00:07
    greenkeeper[bot] opened #5446
  • 00:07

    greenkeeper[bot] on can-connect-ndjson-2.0.0

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

  • Dec 13 21:27

    greenkeeper[bot] on @octokit

    (compare)

  • Dec 13 21:25

    greenkeeper[bot] on @octokit

    chore(package): update @octokit… (compare)

  • Dec 13 21:21

    greenkeeper[bot] on @octokit

    (compare)

  • Dec 13 21:20

    greenkeeper[bot] on @octokit

    chore(package): update @octokit… (compare)

  • Dec 12 19:26
    cherifGsoul review_requested #5443
  • Dec 12 18:34
    cherifGsoul synchronize #5443
  • Dec 12 18:34

    cherifGsoul on document-inserted-removed-can6

    Update after review (compare)

  • Dec 12 17:44

    cherifGsoul on theme-3.0.0-pre.5

    (compare)

Viktor Busko
@Lighttree
I must list them in VM ?
just checked - didn't helped
Kevin Phillips
@phillipskevin
can you set a breakpoint in that defineExpando function?
Viktor Busko
@Lighttree
wait I described my params in a wrong place, maybe If I put them in route function correctly it will work.
Viktor Busko
@Lighttree
@phillipskevin Hmmm I think that the issue was due to can-route-pushstate. I used it during development...but If I wan't to open the same app in some popup it is better to use normal can-route by #! in this case application URL will work fine.
The goal is to be able open the same app as separate or in lightbox :)
and this lighbox can be opened in another application :)
sounds like case for iframe besides
Kevin Phillips
@phillipskevin
@Lighttree is this the issue in your app? canjs/can-route#98
I saw the same thing in another app, so want to make sure it's the same thing that is happening to you
Viktor Busko
@Lighttree
Yep looks the same.
Viktor Busko
@Lighttree

Guys I'm feeling bad myself because of amount of issues I'm asking about :), but one more:

http://jsbin.com/derayewanu/1/edit?html,js,console,output

This bin works fine in Chrome/Edge, but in IE11 SVG that I added in stache not rendered.
Is there workaround for this ? I remember in 2.2.9 stache had same issue, but for all the browsers.

Viktor Busko
@Lighttree
Maybe this is related: canjs/can-stache#95 not sure
Frank Lemanschik
@frank-dspeed
@Lighttree npm install --save can-stache@^3.3.0
and try it out
that patch is merged
so maybe it works after that when that is the issue
Viktor Busko
@Lighttree
already 3.3.0
Frank Lemanschik
@frank-dspeed
then this is not the error
sorry can't help with that
i am never microsoft compatible
they simply don't matter anymore
Viktor Busko
@Lighttree
You mean IE11 users ? :)
Kevin Phillips
@phillipskevin
@Lighttree can you submit an issue?
Viktor Busko
@Lighttree
Sure
Viktor Busko
@Lighttree
canjs/can-stache#242
Gregg Roemhildt
@roemhildtg
Hi guys, I've got some select dropdowns that get populated from an promise that resolves to a can-define list. In IOS, for some reason the options are showing up as empty. Anyone ever run into this?
image.png
Gregg Roemhildt
@roemhildtg
it looks like the generated html looks like this:
image.png
But in regular windows, chrome looks like this:
image.png
Kevin Phillips
@phillipskevin
ios safari you mean?
Gregg Roemhildt
@roemhildtg
Well, the same issue also appears in firefox, chrome, on iphone and ipad
Kevin Phillips
@phillipskevin
all browsers on ios use the same javascript engine
what does your template look like for the <option>s?
Gregg Roemhildt
@roemhildtg
<select {($value)}="value" class="form-select form-control" name="{{properties.name}}">
    {{#each properties.options}}
        <option value="{{value}}">{{label}}</option>
    {{/each}}
</select>
Kevin Phillips
@phillipskevin
ok, I don't see anything obvious. can you submit an issue also?
Gregg Roemhildt
@roemhildtg
Sure. It is related to the promise I mentioned. Providing an array list that is available immediately works.
Kevin Phillips
@phillipskevin
ok, how is the promise specified?
in your VM
Gregg Roemhildt
@roemhildtg
I'm passing an object to a component that has a .optionsPromise property
So I can pass either options or optionsPromise
canjs/canjs#3427
Frank Lemanschik
@frank-dspeed
https://www.npmjs.com/package/landscaper should be moved to a public accessible place so that some one can work more easy with it :)
AntonProkofyev
@AntonProkofyev

Hi guys, i have a question
i have simple connect like
let userConnection = connect( [url, constructor], { url: { getData: 'GET /user' } });
which returns someting like {name: 'Name'}

i have wm

let AppViewModel = DefineMap.extend( {    
    user: {
        get: function (lastSetValue, resolve) {
            userConnection .get().then(resolve);
        }
    }
});

let appVM = new AppViewModel({});

i'm using simple template like {{user.name}}. But when i get response i can see name but i can also see
Uncaught (in promise) TypeError: Cannot define property _instanceDefinitions, object is not extensible define-helpers.js:17.
Am i doing anything wrong with asynchronous getters? May be someone know why is this error appears?

Frank Lemanschik
@frank-dspeed
ithink its because user.name
is not a property
but my english is to bad to explain you that better and shorter simply wait for some one but it looks like your doing it wrong