fieldset > .ui-checkboxradio-label {
width: 100%;
box-sizing: border-box;
text-align: left;
}
var gulp = require('gulp');
var haml = require('gulp-haml');
gulp.task('haml', function () {
gulp.src('./haml/blue/*.haml')
.pipe(haml())
.pipe(gulp.dest('./haml/blue'));
});
gulp.task('watch-haml', function() {
gulp.watch(('./haml/blue/*.haml', ['haml']);
});
gulp watch-haml
@base:1920;
/* Формула для перевода пикселей в проценты */
.pxtp( @pixel:@base ) {
@return: @pixel /@base * 100%+0px;
}
bundler = ->
browserify
entries: [ path.src.coffee ]
extensions: ['.coffee', '.js']
debug : true
.transform 'coffeeify'
.transform 'deamdify'
.bundle()
.on 'error', handleError
.pipe source 'main.js'
.pipe gulp.dest path.build.js
.pipe reload
stream: true
gulp.task 'coffee', ->
gulp.src path.src.coffee, read: false
.pipe plumber
errorHandler: handleError
.pipe tap bundler
define [], ->
"My string"
define ['./partials/extra'], (extra) ->
console.log "Returned: #{extra}"