Skip to content

Commit

Permalink
Moved tanker to lib dir
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewblond committed Aug 8, 2015
1 parent f40095a commit bfbabbb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .jscs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
excludeFiles: [
'node_modules',
'coverage',
'exlib/sax.js',
'exlib',
'test/fixtures/*'
],
requireSpaceAfterKeywords: ['if', 'else', 'for', 'while', 'do', 'switch', 'return', 'try', 'catch'],
Expand Down
2 changes: 1 addition & 1 deletion .jshintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
coverage
exlib/sax.js
exlib
test/fixtures
2 changes: 1 addition & 1 deletion lib/compile/compile-v1.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var EOL = require('os').EOL,
tanker = require('../../exlib/tanker');
tanker = require('../tanker');

/**
* Compiles code of i18n function for bem-bl localization system.
Expand Down
2 changes: 1 addition & 1 deletion exlib/tanker.js → lib/tanker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var sax = require('./sax');
var sax = require('../exlib/sax');

/**
* Надстройка над функцией translate для обратной совместимости.
Expand Down
2 changes: 1 addition & 1 deletion test/exlib/tanker.test.js → test/tanker.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// jscs:disable maximumLineLength
var chai = require('chai'),
assert = chai.assert,
xmlToJs = require('../../exlib/tanker.js').xmlToJs;
xmlToJs = require('../lib/tanker.js').xmlToJs;

// assert.xmlToJs(a, b) ≡ assert.strictEqual(xmlToJs(a), b)
chai.use(function (chai) {
Expand Down

0 comments on commit bfbabbb

Please sign in to comment.