Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: lib/filterClassesNew.js

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: Using embind Created Jan. 15, 2016, 8:44 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « compiled/tools.h ('k') | test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 "use strict";
2
3 let compiled = require("./compiled");
4
5 let FilterType = compiled.FilterType;
6 FilterType.INVALID.toString = () => "invalid";
7 FilterType.COMMENT.toString = () => "comment";
8 FilterType.BLOCKING.toString = () => "blocking";
9 FilterType.WHITELIST.toString = () => "whitelist";
10 FilterType.ELEMHIDE.toString = () => "elemhide";
11 FilterType.ELEMHIDEEXCEPTION.toString = () => "elemhideexception";
12 FilterType.CSSPROPERTY.toString = () => "cssproperty";
13
14 exports.Filter = compiled.Filter;
15 exports.InvalidFilter = compiled.InvalidFilter;
16 exports.CommentFilter = compiled.CommentFilter;
17 exports.ActiveFilter = compiled.ActiveFilter;
18 exports.RegExpFilter = compiled.RegExpFilter;
19 exports.WhiteListFilter = compiled.WhiteListFilter;
20 exports.ElemHideBase = compiled.ElemHideBase;
21 exports.ElemHideFilter = compiled.ElemHideFilter;
22 exports.ElemHideException = compiled.ElemHideException;
23 exports.CSSPropertyFilter = compiled.CSSPropertyFilter;
OLDNEW
« no previous file with comments | « compiled/tools.h ('k') | test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld