包详细信息

doom-nwmatcher

killdream6MIT0.1.0

DOOM bridge for using NWMatcher selector engine.

doom-bridge, doom, css-selector, browser

自述文件

DOOM: NWMatcher

DOOM bridge for using NWMatcher selector engine.

Example

// You need to pass over the global object to the bridge
var NWMatcherBridge = require('doom-nwmatcher')(window)

// Then just instantiate DOOM as normal
var doom = require('doom')(NWMatcherBridge)

Installing

Just grab it from NPM:

$ npm install doom-nwmatcher

Licence

MIT/X11. ie.: do whatever you want.