fixing issues with parse-options and related tests

This commit is contained in:
Isaac Gierard
2014-11-20 16:21:19 -08:00
parent d4ba34e5ed
commit 7e81f791a9
3 changed files with 40 additions and 33 deletions

View File

@@ -1,4 +1,6 @@
module.exports = function parseOptions(options){
/* global _gaq: true, ga: true */
module.exports = function(options){
this.options = options
this.options.elements = this.options.elements || "a[href], form[action]"
this.options.selectors = this.options.selectors || ["title", ".js-Pjax"]