pencilcheck / ng_classify Goto Github PK
View Code? Open in Web Editor NEWng-classify for rails
License: MIT License
ng-classify for rails
License: MIT License
And possibility to process all .coffee files without extension suffix ๐
Server can't find files and trigger couldn't find file
exeption, I investigate this by rake assets:precompile
and find that files save original name and uncompiled, example /home/bjorn/Documents/poller/public/assets/app.coffee.ng-classify
application is located there on ng_classify branch
P.S.
rails (4.2.6)
sprockets (3.6.0)
sprockets-rails (3.0.4)
ng_classify (0.1.4)
railties (4.2.6)
I am trying to make this gem work in a windows environment. This gives trouble when installing the 'therubyracer' dependency. I see two options:
The first answer on this question says there is no way to install the therubyracer gem on windows, but I found a build for windows here. The problem is: this build is version 0.11.0beta. ng_classify requires 0.12. Is it possible to make ng_classify work with this version?
Here I found: "On windows gem 'therubyracer' is not required as it is used to provide the runtime environment and runtime environment already supports on windows". So maybe using :platform is an option to include the therubyracer gem only on non-windows platforms?
Hi, I got this error:
uninitialized constant NgClassify::Template::CommonJS
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.