1+ 'use strict' ;
2+
3+ ; ( function ( ) {
4+
5+ /** Used as a safe reference for `undefined` in pre-ES5 environments. */
6+ var undefined ;
7+
8+ /** Detect free variable `exports`. */
9+ var freeExports = ( objectTypes [ typeof exports ] && exports && ! exports . nodeType ) ? exports : null ;
10+
11+ /** Detect free variable `module`. */
12+ var freeModule = ( objectTypes [ typeof module ] && module && ! module . nodeType ) ? module : null ;
13+
14+ /** Detect free variable `global` from Node.js. */
15+ var freeGlobal = checkGlobal ( freeExports && freeModule && typeof global == 'object' && global ) ;
16+
17+ /** Detect free variable `self`. */
18+ var freeSelf = checkGlobal ( objectTypes [ typeof self ] && self ) ;
19+
20+ /** Detect free variable `window`. */
21+ var freeWindow = checkGlobal ( objectTypes [ typeof window ] && window ) ;
22+
23+ /** Detect the popular CommonJS extension `module.exports`. */
24+ var moduleExports = ( freeModule && freeModule . exports === freeExports ) ? freeExports : null ;
25+
26+ /** Detect `this` as the global object. */
27+ var thisGlobal = checkGlobal ( objectTypes [ typeof this ] && this ) ;
28+
29+ /**
30+ * Used as a reference to the global object.
31+ *
32+ * The `this` value is used if it's the global object to avoid Greasemonkey's
33+ * restricted `window` object, otherwise the `window` object is used.
34+ */
35+ var root = freeGlobal || ( ( freeWindow !== ( thisGlobal && thisGlobal . window ) ) && freeWindow ) || freeSelf || thisGlobal || Function ( 'return this' ) ( ) ;
36+
37+ var StopwordFilter = function ( options ) {
38+
39+ }
40+
41+ StopwordFilter . prototype . setStopwords = function ( data ) {
42+ this . stopwords = data ;
43+ }
44+
45+ // Export
46+ ( freeWindow || freeSelf || { } ) . ddSF = StopwordFilter ;
47+
48+ // Export for Node.js.
49+ if ( moduleExports ) {
50+ freeModule . exports = StopwordFilter ;
51+ }
52+
53+ // Export for a browser or Rhino.
54+ root . StopwordFilter = StopwordFilter ;
55+ } . call ( this ) ) ;
0 commit comments