Comparing version 1.0.0 to 1.0.1
@@ -11,4 +11,4 @@ 'use strict'; | ||
*/ | ||
function _createBiquadFilter(defaults) { | ||
return function(context, opts) { | ||
function _createBiquadFilter (defaults) { | ||
return function (context, opts) { | ||
if (audioContext) { | ||
@@ -22,3 +22,3 @@ opts = context; | ||
Object.keys(opts).forEach(function(option) { | ||
Object.keys(opts).forEach(function (option) { | ||
if (option !== 'type') { | ||
@@ -48,3 +48,3 @@ filter[option].value = opts[option]; | ||
module.exports = function setContext(context) { | ||
module.exports = function setContext (context) { | ||
audioContext = context; | ||
@@ -51,0 +51,0 @@ return { |
{ | ||
"name": "biquad", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Tiny utility for creating biquad filter nodes.", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"name": "Ben Briggs", | ||
"email": "therealbenbriggs@hotmail.com", | ||
"email": "beneb.info@gmail.com", | ||
"url": "http://beneb.info" | ||
@@ -13,0 +13,0 @@ }, |
5677