diff --git a/DragCommands/Insert JS Link.tmDragCommand b/DragCommands/Insert JS Link.tmDragCommand index 5d5c172..c57c534 100644 --- a/DragCommands/Insert JS Link.tmDragCommand +++ b/DragCommands/Insert JS Link.tmDragCommand @@ -8,7 +8,7 @@ #!/bin/bash [[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh" -echo "<script src=\"$TM_DROPPED_FILE\" type=\"text/javascript\"></script>" +echo "<script src=\"$TM_DROPPED_FILE\"></script>" draggedFileExtensions js diff --git a/Snippets/Script With External Source.tmSnippet b/Snippets/Script With External Source.tmSnippet index 8194617..37afe95 100644 --- a/Snippets/Script With External Source.tmSnippet +++ b/Snippets/Script With External Source.tmSnippet @@ -3,7 +3,7 @@ content - <script src="$1" type="text/javascript"></script> + <script src="$1"></script> name Script With External Source scope diff --git a/Snippets/Script.tmSnippet b/Snippets/Script.tmSnippet index b50330a..e118900 100644 --- a/Snippets/Script.tmSnippet +++ b/Snippets/Script.tmSnippet @@ -3,7 +3,7 @@ content - <script type="text/javascript"> + <script> $0 </script> name