Skip to content

Commit

Permalink
remove autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Celso Miranda committed Jan 1, 2016
1 parent ad90ae0 commit 1bef299
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
16 changes: 6 additions & 10 deletions lib/renderer.js
@@ -1,6 +1,5 @@
'use strict';
var axis = require('axis');
var autoprefixer = require('autoprefixer-stylus');
var jeet = require('jeet');
var nib = require('nib');
var rupture = require('rupture');
Expand Down Expand Up @@ -43,11 +42,11 @@ module.exports = function(data, options, callback){
}

var defaults = {
nib: true,
axis: true,
rupture: true,
jeet: true,
typographic: true
nib: false,
axis: false,
rupture: false,
jeet: false,
typographic: false
};
var o = (this.config.yasr) ? this.config.yasr : defaults;

Expand All @@ -68,9 +67,6 @@ module.exports = function(data, options, callback){
result = (o.typographic && o.typographic === true) ?
result.use(typographic()).import('typographic') : result;

result = (o.autoprefixer) ?
result.use(autoprefixer(o.autoprefixer)) : result;

result = result.use(defineConfig);

result = result.set('filename', data.path);
Expand All @@ -84,4 +80,4 @@ module.exports = function(data, options, callback){
result = result.set('include css', true).render(callback);

return result;
};
};
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -39,14 +39,14 @@
"devDependencies": {
"chai": "^3.4.1",
"coveralls": "^2.11.6",
"jshint": "^2.8.0",
"gulp": "^3.9.0",
"gulp-istanbul": "^0.10.3",
"gulp-jshint": "^2.0.0",
"gulp-load-plugins": "^1.1.0",
"gulp-mocha": "^2.2.0",
"jshint": "^2.8.0",
"jshint-stylish": "^2.1.0",
"mocha": "^2.3.4",
"rimraf": "^2.5.0"
}
}
}

0 comments on commit 1bef299

Please sign in to comment.