From d0f8a7d52b6a953f1e8670d5e2bbccc918a33caf Mon Sep 17 00:00:00 2001 From: Permutator Date: Sat, 11 Jun 2016 16:57:44 -0700 Subject: [PATCH] make options optional for Bundle.prototype.generateMap --- src/Bundle.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bundle.js b/src/Bundle.js index e5d9090..00d68d9 100644 --- a/src/Bundle.js +++ b/src/Bundle.js @@ -79,6 +79,8 @@ Bundle.prototype = { }, generateMap ( options ) { + options = options || {}; + let offsets = {}; let names = [];