Update scriptlet-filtering.js (#3696)

This commit is contained in:
Hugo Xu 2018-04-09 15:49:35 -06:00 committed by Raymond Hill
parent 00cb02ec47
commit 60751044fe
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@
content = patchScriptlet(content, args);
if ( !content ) { return; }
}
content =
'try {\n' +
content + '\n' +
'} catch ( e ) { }';
scriptletCache.add(raw, content);
}
toInject.set(raw, content);