回答編集履歴

2

即時関数にする必要もなかった

2017/04/30 12:26

投稿

ryls-nmm
ryls-nmm

スコア633

test CHANGED
@@ -34,13 +34,9 @@
34
34
 
35
35
  ```javascript
36
36
 
37
- !function(){
37
+ insertScript({src: "https://code.jquery.com/jquery-3.2.1.min.js"})
38
38
 
39
- insertScript({src: "https://code.jquery.com/jquery-3.2.1.min.js"})
40
-
41
- insertScript({src: chrome.runtime.getURL("script.js")})
39
+ insertScript({src: chrome.runtime.getURL("script.js")})
42
-
43
- }()
44
40
 
45
41
 
46
42
 

1

asyncいらなくなったのに残ってた

2017/04/30 12:26

投稿

ryls-nmm
ryls-nmm

スコア633

test CHANGED
@@ -34,7 +34,7 @@
34
34
 
35
35
  ```javascript
36
36
 
37
- !async function(){
37
+ !function(){
38
38
 
39
39
  insertScript({src: "https://code.jquery.com/jquery-3.2.1.min.js"})
40
40