Skip to content

Commit

Permalink
Fix DOMPurify import path.
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chou committed Oct 5, 2018
1 parent 138c16d commit e62defa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/purifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {remove} from './utils/array';
import {startsWith} from './string';
import {urls} from './config';
import {user} from './log';
import purify from 'dompurify/dist/purify.ejs';
import purify from 'dompurify/purify.ejs';

/** @private @const {{addHook: !Function, removeAllHooks: !Function, sanitize: !Function}} */
const DOMPurify = purify(self);
Expand Down

0 comments on commit e62defa

Please sign in to comment.