Skip to content

Commit

Permalink
Reverting the change for caniuse-db
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Feb 9, 2017
1 parent 1d75a37 commit c8eb99f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/assets/caniuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ if (typeof module === 'object' && typeof define !== 'function') {
define(function(require, exports, module) {
var prefs = require('./preferences');
var utils = require('../utils/common');
var caniuseData = require('caniuse-db/fulldata-json/data-1.0.json');


prefs.define('caniuse.enabled', true, 'Enable support of Can I Use database. When enabled,\
CSS abbreviation resolver will look at Can I Use database first before detecting\
CSS properties that should be resolved');
Expand Down Expand Up @@ -199,7 +198,7 @@ define(function(require, exports, module) {
try {
var fs = r('fs');
var path = r('path');
db = fs.readFileSync(path.join(__dirname, caniuseData), {encoding: 'utf8'});
db = fs.readFileSync(path.join(__dirname, '../caniuse.json'), {encoding: 'utf8'});
} catch(e) {}
}
})(require);
Expand Down

0 comments on commit c8eb99f

Please sign in to comment.