Skip to content

Instantly share code, notes, and snippets.

@ryanlabouve
Created June 22, 2016 15:18
Show Gist options
  • Select an option

  • Save ryanlabouve/f14be810ddf9d911c27b8a2ad4f16c18 to your computer and use it in GitHub Desktop.

Select an option

Save ryanlabouve/f14be810ddf9d911c27b8a2ad4f16c18 to your computer and use it in GitHub Desktop.
Test Mut Safari Bug
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
val: true
});
Current Val: {{val}}
<button onclick={{action (mut val) false}}>
Set val false
</button>
<button onclick={{action (mut val) true}}>
Set val true
</button>
{
"version": "0.9.3",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "canary",
"ember-data": "2.6.1",
"ember-template-compiler": "canary"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment