Permalink
Browse files

remove line-numbers from babel-code-frame

  • Loading branch information...
kittens committed Mar 22, 2016
1 parent 971ab0e commit 09287643c712bcd203bbd6f2f9fa7a9ae54026b8
Showing with 5 additions and 2 deletions.
  1. +0 −1 packages/babel-code-frame/package.json
  2. +5 −1 packages/babel-code-frame/src/index.js
@@ -12,7 +12,6 @@
"chalk": "^1.1.0",
"esutils": "^2.0.2",
"js-tokens": "^1.0.1",
- "line-numbers": "^0.2.0",
"repeating": "^1.1.3"
}
}
@@ -1,12 +1,16 @@
/* eslint indent: 0 */
/* eslint max-len: 0 */
-import lineNumbers from "line-numbers";
+//import lineNumbers from "line-numbers";
import repeating from "repeating";
import jsTokens from "js-tokens";
import esutils from "esutils";
import chalk from "chalk";
+function lineNumbers(lines) {
+ return lines;
+}
+
/**
* Chalk styles for token types.
*/

4 comments on commit 0928764

@dtothefp

This comment has been minimized.

Show comment
Hide comment
@dtothefp

dtothefp Mar 22, 2016

@kittens can we get this published asap...as I'm sure you know it's causing major issues. stevemao/left-pad#5

@kittens can we get this published asap...as I'm sure you know it's causing major issues. stevemao/left-pad#5

@kittens

This comment has been minimized.

Show comment
Hide comment
@kittens

kittens Mar 22, 2016

Member

@dtothefp yes that's what i'm trying to do right now

Member

kittens replied Mar 22, 2016

@dtothefp yes that's what i'm trying to do right now

@dtothefp

This comment has been minimized.

Show comment
Hide comment
@dtothefp

dtothefp Mar 22, 2016

cool...thx

cool...thx

@vhmth

This comment has been minimized.

Show comment
Hide comment

+1

Please sign in to comment.