Permalink
Browse files

add $.configure(options)

  • Loading branch information...
1 parent 61092e9 commit 25e924b7405b65df23508f364ef3a127bafe0567 @rvagg rvagg committed Jan 2, 2012
Showing with 10 additions and 0 deletions.
  1. +5 −0 lib/ender/bridge.js
  2. +5 −0 test/ender/ender.js
View
@@ -95,6 +95,11 @@
, first: function (selector, root) {
return $(nw.select(selector, root, function() { return false }))
}
+ // direct access in to NW.Dom.configure(options), for use such as:
+ // $.configure({ USE_QSAPI: false, VERBOSITY: false });
+ , configure: function (options) {
+ nw.configure(options)
+ }
})
}(document, ender)
View
@@ -1811,6 +1811,11 @@
, first: function (selector, root) {
return $(nw.select(selector, root, function() { return false }))
}
+ // direct access in to NW.Dom.configure(options), for use such as:
+ // $.configure({ USE_QSAPI: false, VERBOSITY: false });
+ , configure: function (options) {
+ nw.configure(options)
+ }
})
}(document, ender)

0 comments on commit 25e924b

Please sign in to comment.