Profile cover photo
Profile photo
Erik Arvidsson
1,745 followers
1,745 followers
About
Posts

Post has attachment
We prototyped mixins in Traceur before there was a Dart. Unfortunately we had to give up mixins to reach agreements on classes for ES6.

+Alex Russell +Peter Hallam 
Add a comment...

Post has attachment

Post has shared content
Raf is demoing the power of Object.observe which is something we have been working on for a while.
Calling all JS framework/MVC/magic-portion ninjas:

If you are interested in helping to shape how Web Apps of the future are composed, watch this video and try out this experimental JavaScript feature...we need your feedback, experimentation, and genius.

To explain...

Object.observe() brings the promise of high-performance data binding without the need to wrap all data access and modification in calls to a library. Just change your objects and watch your UI dance.

Object.observe() (http://wiki.ecmascript.org/doku.php?id=strawman:observe) is a proposed feature for JavaScript which is currently being considered by TC-39. It allows code to observe changes to JS Objects much in the way that DOM Mutation Observers (https://developer.mozilla.org/en-US/docs/DOM/DOM_Mutation_Observers) allows observation of the DOM.

The Chromium team has created an experimental implementation of Object.observe in a branch of v8 (https://github.com/rafaelw/v8) and there are custom builds of Chromium which are available for testing.

We've also created a utility library which uses Object.observe() and exposes some higher-level features called Change Summary (https://github.com/rafaelw/ChangeSummary).

Remember, this feature is experimental, the implementation is probably buggy and the use cases it enables are somewhat advanced...and awesome!

Start your tinkering.

+Web Components 
Add a comment...

Post has attachment
Memorial Weekend at Yosemite
PhotoPhotoPhotoPhotoPhoto
Yosemite 2012
17 Photos - View album
Add a comment...

Post has attachment

Post has shared content
Awesome work Raf!
Try the Mutation Observers API (now in Chrome Beta), which replaces the old Mutation Events API, to detect changes in your DOM. We are also happy to announce the release of the Mutation Summary library at https://code.google.com/p/mutation-summary/, which lets you handle the DOM Mutations that you really need for your app. Check the card demo in this video!

+Ernest Delgado
Add a comment...

Post has attachment

Post has attachment
Erik Arvidsson and 2 others were tagged in Erik Arvidsson's album.
Photo
Photo
View album
Commenting is disabled for this post.

Post has attachment
Wait while more posts are being loaded