Skip to content

Commit

Permalink
replace
Browse files Browse the repository at this point in the history
  • Loading branch information
friskfly committed Jul 13, 2015
1 parent 8165ffc commit f81e350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -2,9 +2,9 @@
var esprima = require('esprima')
var str2js = require('str2js')

module.exports = removeTrailingComma
module.exports = replace

function removeTrailingComma(source) {
function replace(source) {
var syntax = esprima.parse(source, {
tokens: true,
range: true,
Expand Down

0 comments on commit f81e350

Please sign in to comment.