fixing issues with parse-options and related tests

This commit is contained in:
Isaac Gierard committed 2014-11-20 16:21:19 -08:00
1 parent d4ba34e5ed
commit 7e81f791a9
3 files changed
+40 -33

No files matched your search

+3 -1
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"]