I mean its the web so its safe to say it will be in flux for a while
but its amazing
I might publish a plugin cause I ended up making something that I think if pluggable into the http layer could really help keep requests low for mobile
I am interested in its Add-To-Home-Screen functionality currently
so it makes web application stuff more easy and allows offline work as well which is a total bonus
Kijana Woodard
@kijanawoodard
@ejsmith "who the heck wants to be locked into a single language with no choice?" exactly, I want to be able write in any language and have it run in a browser.
yd021976
@yd021976
hi all
simple (maybe noob) question about external ressources in aurelia apps
i want a package (jquery image cropper) that is not in jspm, what is the best way to integrate this dependency in aurelia app ?
yd021976
@yd021976
anyone could help with this ?
Roland Quast
@rquast
is there a github project for it?
if it's this one... fengyuanchen/cropper
jspm install github:fengyuanchen/cropper
_
yd021976
@yd021976
ok ! i've searched in jspm registry but not found any image cropper
Roland Quast
@rquast
no, that's directly getting it from github
jspm can use it's own registry, npm's reg or any github project
yd021976
@yd021976
ok thanks very much ! Just a jspm noob question so :worried:
Roland Quast
@rquast
and if you don't have jquery ... jspm install that too
then in your view model (or whatever..)
import $ from 'jquery';
import {cropper} from 'fengyuanchen/cropper';
This message was deleted
yd021976
@yd021976
right ! github:fengyuanchen was exactly what i'm looking for
in my VM, do i init my custom element in constructor or elsewhere ?
Roland Quast
@rquast
no need to init that
just use.. it will probably work
if you want to create a custom element, then do that first before trying out the cropper
so at least you get the custom element working in your view model
according to the cropper doco.. you have to init it though
you should probably init it in the attached() method
so in your view model or custom element, create a method.. attached() { $.fn.cropper(); }