We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I'm install this gem. Create file with extension .coffee.ng-classify, with simple code:
class Home extends Controller constructor: ($scope) -> $scope.coolMethod = 'Some'
But not work. In browser console message ' Uncaught ReferenceError: Controller is not defined'.
and js file:
(function() { var Home, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, __hasProp = {}.hasOwnProperty; Home = (function(_super) { __extends(Home, _super); function Home($scope) { $scope.coolMethod = 'Some'; } return Home; })(Controller); }).call(this);
what am I doing wrong?
The text was updated successfully, but these errors were encountered:
Which version are you on?
Sorry, something went wrong.
ng_classify (0.1.4)
That's interesting. It is most likely an upstream issue as all this gem is doing is require and call the method to transform.
Upstream is here https://github.com/CaryLandholt/ng-classify
I will keep this open until the one upstream is fixed as well.
For now, please try 0.0.4
No branches or pull requests
Hi.
I'm install this gem.
Create file with extension .coffee.ng-classify, with simple code:
But not work.
In browser console message ' Uncaught ReferenceError: Controller is not defined'.
and js file:
what am I doing wrong?
The text was updated successfully, but these errors were encountered: