Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:41

    3cp on master

    chore: typo (compare)

  • 21:52

    EisenbergEffect on 2.0.0-rc.8

    (compare)

  • 21:42

    EisenbergEffect on master

    chore(all): prepare release 2.0… (compare)

  • 20:54

    EisenbergEffect on 1.2.0

    (compare)

  • 20:53

    EisenbergEffect on master

    chore(all): prepare release 1.2… (compare)

  • 02:05
    tomtomau edited #92
  • 02:04
    tomtomau edited #92
  • 02:03
    tomtomau edited #92
  • 02:02
    tomtomau synchronize #92
  • 01:48
    tomtomau opened #92
  • Sep 18 11:45
    jwx commented #804
  • Sep 18 11:10
    JontyMC commented #804
  • Sep 18 11:10
    JontyMC commented #804
  • Sep 18 10:31
    jwx commented #804
  • Sep 18 10:27
    jwx commented #804
  • Sep 18 10:07
    JontyMC commented #804
  • Sep 18 10:06
    JontyMC commented #804
  • Sep 17 22:22
    eriklieben commented #104
  • Sep 17 22:21
    eriklieben commented #104
  • Sep 17 21:28
    CedricMalfreytBL commented #163
Micah Zoltu
@MicahZoltu
Maybe something like that?
Tom
@Svenskunganka
They use events a lot, e.g
socket.on('thing:save', function () {

});
Micah Zoltu
@MicahZoltu
Ah, here it is.
import socketio from 'socket.io';
import jquery from 'jquery';
var socket = socketio.io();
jquery('form').submit(() => {
    socket.emit('chat message', jquery('#m').val());
    jquery('#m').val('');
    return false;
}
Tom
@Svenskunganka
Nice!
Micah Zoltu
@MicahZoltu
Updated with a bit of the client-side code from http://socket.io/get-started/chat/
You can name jquery and socketio whatever you want.
I'm not a fan of $ for jquery myself, too much like pearl for my taste.
Tom
@Svenskunganka
I don't like jQuery at all x)
Micah Zoltu
@MicahZoltu
Same.
Tom
@Svenskunganka
But that is really helpful mate, thanks a bunch for your time!
Micah Zoltu
@MicahZoltu
Though, it served a purpose (before more rich frameworks)
No problem.
Tom
@Svenskunganka
Even though Bootstrap is good, I've started to dislike it simply because it requires jQuery and have a bunch of styles that is a pain to override...
Btw, I don't understand what they mean with this: config.addPipelineStep('modelbind', 'myname'); // Makes the entire `myname` pipeline run as part of the `modelbind` pipeline.
Micah Zoltu
@MicahZoltu
I haven't done anything other than adding to the authorize pipeline.
But in theory, there is a modelbind pipeline step.
You can setup a series of steps, and then add that series to the modelbind step.
So in that example, when it comes time to modelbind (whatever that means) then MyFirstStep will be run, followed by MySecondStep.
What exactly it means to run a step at modelbind time is beyond me.
Though, I believe there is a typo in the docs, above it says bindmodel. Not sure which one is the right one.
Basarat Ali Syed
@basarat
@cmichaelgraham @AshleyGrant the reason why filesGlob isn't expanding in that video is we only watch tsconfig.json if a.ts file resolves to tsconfig.json. So if you haven't opened a .ts file then filesGlob will not be synced.
Also if you open a .ts file and there is no tsconfig.json > we create one for you. We already did that earlier in the video. Therefore the already open .ts files were resolving to a different tsconfig.json (lower in the directory tree) then the root tsconfig.json that was copied over. Nevertheless thanks for the support :rose: :)
Basarat Ali Syed
@basarat
@cmichaelgraham @AshleyGrant going further through the video the reason why the framework from .d.ts wasn't highlighting is because of the tsconfig.json that was created automatically was at a lower level in the directory tree and therefore the fileGlob for that didn't capture the .d.ts files that are higher up.
Basarat Ali Syed
@basarat
@cmichaelgraham @AshleyGrant about the constant closing : its easier to sync : https://github.com/TypeStrong/atom-typescript#sync :rose:
blob
@AshleyGrant about the "opened two of these" there is the console tab and the console drawer (toggle-able when the dev tools are in focus using the esc key). The actual console can only be in one place at a time and therefore if you open tab when the drawer is already open the drawer console goes all grey as you noticed. Just sharing :heart:
Raimo Pitkänen
@rapitkan
Hi folks! Do you think that Aurelia is ready for production use?
Nelo Mitranim
@Mitranim
If your app goes into production in a few months time, then you can start developing with it. Otherwise, probably not quite yet...
Some APIs still in flux
it's a preview
Charles Pockert
@charlespockert
@rapitkan I've got an app that is almost complete that will go into production this month. There's not a lot missing from the framework so it's not like you can't get most of the way there already
Raimo Pitkänen
@rapitkan
This should be in production after (about) 4 months I think
Have you heard about Riot 2 or have you tried it yet?
Nelo Mitranim
@Mitranim
I was interested for a moment, then I started reading and the creator was talking how he liked the jquery API and borrowed ideas from there... that's where I stopped
Admire the effort, but an API like that can't be good
also didn't seem ES7 oriented
Raimo Pitkänen
@rapitkan
@Mitranim good points
But it's very small library and I'm wondering if it could be used with Aurelia somehow
bastienJS
@bastienJS
@Svenskunganka I can feel your bootstrap pain too ;-)
if you use themes but have to make custom changes its a pain to write the css selectors and overwrite the correct one
Nelo Mitranim
@Mitranim
Bootstrap has that problem because it's heavily class based and not component oriented, so it can be difficult to remember the right combination and class specificity is rather high
It's better when the CSS framework is based around custom tags — easy to target and tag specificity in CSS is extremely low
Unfortunately this approach is extremely rare
hopefully people will catch up
I've been using this approach for my framework and it's been quite easy to theme
Tom
@Svenskunganka
There are other frameworks out there that only has the responsive components without any styling, I tend to use those over Bootstrap nowadays :P
Raimo Pitkänen
@rapitkan
I've been using atomic css and this library called Once: https://github.com/niant/once . There hasn't been need to overwrite styles and you don't have to write styles all the time, just reusable classes in html.
for example: <div class="Mbox-xs Py-sm"></div> = extra small margins for every side and small paddings on top and bottom
Petr Krebs
@petr-k
@Aaike Sounds great! Will you share the solution you have so far?