Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
/angular.jsPublic archive

Commitff4f3a1

Browse files
author
Rafael Fragoso
committed
refactor(jQlite): Callingwindow before document
calling `window` before using `document` as instructed.
1 parent576d348 commitff4f3a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/jqLite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ function JQLite(element) {
284284
}
285285
if(!(thisinstanceofJQLite)){
286286
if(argIsString&&element.charAt(0)!=='<'){
287-
returnnewJQLite(document.querySelector(element));
287+
returnnewJQLite(window.document.querySelector(element));
288288
}
289289
returnnewJQLite(element);
290290
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp