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

Function contains

src/taBind.js:821–828  ·  view source on GitHub ↗
(a, obj)

Source from the content-addressed store, hash-verified

819 if(event.keyCode === _ENTER_KEYCODE && !event.shiftKey && !event.ctrlKey && !event.metaKey && !event.altKey)
820 {
821 var contains = function(a, obj) {
822 for (var i = 0; i < a.length; i++) {
823 if (a[i] === obj) {
824 return true;
825 }
826 }
827 return false;
828 };
829 var $selection;
830 var selection = taSelection.getSelectionElement();
831 // shifted to nodeName here from tagName since it is more widely supported see: http://stackoverflow.com/questions/4878484/difference-between-tagname-and-nodename

Callers 1

taBind.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected