Created
May 5, 2017 21:41
-
-
Save orafaelfragoso/bbd19b3cd07f91124925e96792610082 to your computer and use it in GitHub Desktop.
Angular 1.X Mysteries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!(this instanceof JQLite)) { | |
if (argIsString && element.charAt(0) !== '<') { | |
throw jqLiteMinErr('nosel', 'Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element'); | |
} | |
return new JQLite(element); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment