Tutoriel par Examples: coffeescript



app / assets / javascripts / channels / notifications.coffee App.notifications = App.cable.subscriptions.create "NotificationsChannel", connected: -> # Called when the subscription is ready for use on the server $(document).on "change", "input", (e)=&g...
Installez d'abord gulp et naviguez via npm i gulp gulp-coffeeify. Cela installera browserify dans votre dossier node_modules. gulpfile.js var gulp = require('gulp'); var coffeeify = require('gulp-coffeeify'); gulp.task('script', function() { gulp.src('./src/script.coffee') .p...

Page 1 de 1