News for hackers. Stuff that matters.
Re:Mozilla Brick by itry on Tuesday September 30, 2014 @03:31AM (#8387119)
Can I use this client-side? From what I read on the page this seems to be only geared towards a certain server-side-setup with node.js, brewer and stuff.
Re:Mozilla Brick by moondowner on Tuesday September 30, 2014 @03:58AM (#8387172)
Yes you can. If you check out http://brick.mozilla.io/v2.0/docs/getting-started - Node and bower are used in order to install the library locally. You can also download the project from Github (https://github.com/mozbrick/brick) and just copy-paste the needed files in your project. You can search for them in the 'dist' sub-directory.
Re:Mozilla Brick by itry on Tuesday September 30, 2014 @04:23AM (#8387232)
Thanks. That might work. But it feels a bit unaccessible. Looking through the code also gives me a strange feeling. Too many dependencies. They should just give you a .js that enables certain functionality and thats it. Like "include brick-flipbox.js and you have flipbox functionality".

Plus most of the demos do not wort (tried in chromium).

I don't believe in this thing.

Re:Mozilla Brick by niutech on Tuesday September 30, 2014 @03:59AM (#8387178)
Sure, these are custom elements, which are just HTML/JS/CSS files. What's more, they are interchangeable with other ones found at http://customelements.io/