Created
May 12, 2015 14:39
-
-
Save gempesaw/3e0e812c02348fad2187 to your computer and use it in GitHub Desktop.
newest traceur & ng-annotate compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// version 0.0.88 & 0.0.89 | |
(function () { | |
var MyController = (function() { | |
function MyController(args) {} | |
return ($traceurRuntime.createClass)(MyController, {}, {}); | |
}()); | |
angular.module('test').controller('MyController', MyController); | |
return {}; | |
}); | |
// version 0.0.87 | |
(function () { | |
var MyController = function MyController(args) {}; | |
($traceurRuntime.createClass)(MyController, {}, {}); | |
angular.module('test').controller('MyController', MyController); | |
return {}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment