amdextract
Advanced tools
Comparing version 2.1.13 to 2.1.14
16
index.js
@@ -25,10 +25,10 @@ /* | ||
for (key in object) { | ||
if (object.hasOwnProperty(key)) { | ||
child = object[key]; | ||
if (typeof child === 'object' && child !== null) { | ||
child.key = key; | ||
if (result = traverse(child, visitor)) { | ||
return result; | ||
} | ||
for (var i = 0, keys = Object.keys(object), length = keys.length; i < length; i++) { | ||
key = keys[i]; | ||
child = object[key]; | ||
if (typeof child === 'object' && child !== null) { | ||
child.key = key; | ||
if (result = traverse(child, visitor)) { | ||
return result; | ||
} | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "amdextract", | ||
"version": "2.1.13", | ||
"version": "2.1.14", | ||
"description": "Uses AST to extract AMD modules, their parts and an optimized output without unused dependencies while keeping the original format.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -130,2 +130,3 @@ # amdextract [![Build Status](https://travis-ci.org/mehdishojaei/amdextract.png)](https://travis-ci.org/mehdishojaei/amdextract) | ||
## Release History | ||
* 2015-12-27 v2.1.14 Remove "for in" loop in traverse. | ||
* 2015-12-26 v2.1.13 Remove unused function "extendRange". | ||
@@ -132,0 +133,0 @@ * 2015-12-26 v2.1.12 Fixed indentation of samples in README.md. |
26519
146
492