MCPcopy Index your code
hub / github.com/textAngular/textAngular / blockJavascript

Function blockJavascript

src/textAngularSetup.js:856–861  ·  view source on GitHub ↗
(link)

Source from the content-addressed store, hash-verified

854
855 /* istanbul ignore next: if it's javascript don't worry - though probably should show some kind of error message */
856 var blockJavascript = function (link) {
857 if (link.toLowerCase().indexOf('javascript')!==-1) {
858 return true;
859 }
860 return false;
861 };
862
863 taRegisterTool('insertImage', {
864 iconclass: 'fa fa-picture-o',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected