Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 04 12:02
    bigopon synchronize #137
  • Oct 03 22:59
    bigopon commented #465
  • Oct 03 20:01
    davismj commented #465
  • Oct 03 17:29
    RomkeVdMeulen commented #93
  • Oct 03 17:27
    RomkeVdMeulen edited #93
  • Oct 03 17:26
    RomkeVdMeulen commented #93
  • Oct 03 13:45
    RomkeVdMeulen commented #93
  • Oct 03 13:43
    RomkeVdMeulen commented #535
  • Oct 03 10:53
    bigopon commented #93
  • Oct 03 10:51
    bigopon commented #93
  • Oct 03 10:16
    RomkeVdMeulen opened #93
  • Oct 03 02:46

    EisenbergEffect on master

    doc(backers): thank you to our … (compare)

  • Oct 02 15:58
    fkleuver commented #39
  • Oct 02 07:09
    rmja commented #39
  • Oct 01 20:39
    bigopon commented #535
  • Oct 01 17:33
    massimocode edited #12
  • Oct 01 17:33
    massimocode edited #12
  • Oct 01 17:31
    massimocode opened #12
  • Oct 01 16:14
    RomkeVdMeulen opened #535
  • Oct 01 11:01
    massimocode edited #900
Arne Deruwe
@arnederuwe
tankBug
@tankBug
thanks!
Arne Deruwe
@arnederuwe
thank @3cp for writing it ;)
Jorge Rodríguez Galán
@jrgcubano
hi there
someone have an idea why this could be happening...? was working before...
image.png
@bigopon ?
andrefcferreira
@andrefcferreira
Hey guys!
I am using aurelia-fetch-client to request and i am trying to add a 'Expect: 100-continue' header property. But everytime that i try to request, the request header from my browser is not including that property.
Does anyone knows who is reponsible to handle the repeatable requests? I would like to disable it!
The header property is been automatically remove from the headers object.
jaypatel52327
@jaypatel52327
how to create bindable displayName
Michael Withagen
@michaelw85
@jaypatel52327 did you look at the documentation on the aurelia site?
jaypatel52327
@jaypatel52327
yes I have check but I want Set displayName from UI but can't work ex ensure('value').displayName('firstname')
I don't want to set displayName in ts, I want set displayName from UI or HTML
Michael Withagen
@michaelw85
it is possible to create template only components for example:
<template bindable="displayName">
  <div>${displayName}</div>
</template>
Than in another template:
<template>
  <require from="./display-name.html"></require>
  <display-name displayName="something"></display-name>
</template>
jaypatel52327
@jaypatel52327
Great! Many Thanks
bigopon
@bigopon
@jrgcubano hm
I think it's in your code
I dont remember aurelia using Weak map internally
or at least I believe so
Arch Enemy
@_ArchEnemy__gitlab
@MaximBalaganskiy Hey Maxim, in Aurelia-materialize bridge, one of the more recent versions, the tooltips don't work anymore. I was trying to figure out if I broke it in my app, but it seems like it is broken since an update in npm.
I'm using a fairly recent Aurelia-cli and ES9 (not typescript).
Max
@MaximBalaganskiy
@_ArchEnemy__gitlab there's been a change - text property became html
Arch Enemy
@_ArchEnemy__gitlab
oh, can we recode it in a way that it would work ?
maybe pass in a json object instead
or just have two attributes, one position one text
Luis Lebolo
@lebolo_gitlab

Is it possible to inject a JSON file into a constructor?

import * as project from '../aurelia_project/aurelia.json';
import { autoinject } from 'aurelia-framework';

@autoinject
export class App {
  constructor(project: Object) {...}

project is undefined here. Was wondering if using @inject on the constructor argument would help, but not sure how to go forward.

bigopon
@bigopon
Auto inject wont work, but you can inject a string as key
@inject('app-config')
And in app root, fetch it and register it:

aurelia.container.registerInstance('app-config', myJsonObjrct)
Max
@MaximBalaganskiy
@_ArchEnemy__gitlab simply rename "text" to "html"... see http://aurelia-ui-toolkits.github.io/demo-materialize/#/samples/dialogs/tooltip
Arch Enemy
@_ArchEnemy__gitlab
Oh it works nicely
mroeling
@mroeling
Anybody using cypress.io to validate the data sent to a backend? In aurelia (using aurelia-http-client) the request body is always empty.
I have set up a simple repo without aurelia, and in that case the request body is filled as expected.
What's also hard to understand, is that in the Chrome network tab, the formdata is set. But Cypress does not show it.
bigopon
@bigopon
@mroeling cna you try with normal fetch to send data?
mroeling
@mroeling
@bigopon quote from cypress website (https://docs.cypress.io/api/commands/route.html#Syntax) "Please be aware that Cypress only currently supports intercepting XMLHttpRequests. Requests using the Fetch API and other types of network requests like page loads and <script> tags will not be intercepted or visible in the Command Log. See #95 for more details and temporary workarounds."
But to add to the discussion: I have pinpointed the problem, I think it is actually a bug of Cypress: cypress-io/cypress#5287
The issue arises when FormData is used. Confirmed without Aurelia as well ;)
cnourai
@cnourai
PolyfillEdited.jpg
Hey so I am getting this error when debugging from a device running edge mobile, can anyone lead me in the right direction to help get this resolved? It looks like it is missing something in the polyfill
mroeling
@mroeling
@cnourai would like to help, but I'm afraid there aren't many details left ;P Can you at least tell what function/method is called from the polyfill?
cnourai
@cnourai
@mroeling unfortunately I cant, this is all i can get. Im not sure where to even go from here. It fails on every page of our website. I tried putting the webpack in development mode but it then fails to build
mroeling
@mroeling
@cnourai I notice that the error is in the vendor bundle. 1) Can you supply the package.json and 2) can you paste a snippet from around where the error arises?
cnourai
@cnourai
@mroeling there really isnt anything going on where the snippet arises. it happens on every page
here is the package.json
image.png
cnourai
@cnourai
is there a way to get better debug logs from the original log above