Skip to content

Commit

Permalink
Remove type attribute from script snippets
Browse files Browse the repository at this point in the history
It is no longer recommended to redundantly set this attribute.
  • Loading branch information
infininight committed Jun 29, 2018
1 parent dd548d7 commit 9f9e1c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DragCommands/Insert JS Link.tmDragCommand
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<string>#!/bin/bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"

echo "&lt;script src=\"$TM_DROPPED_FILE\" type=\"text/javascript\"&gt;&lt;/script&gt;"</string>
echo "&lt;script src=\"$TM_DROPPED_FILE\"&gt;&lt;/script&gt;"</string>
<key>draggedFileExtensions</key>
<array>
<string>js</string>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Script With External Source.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>&lt;script src="$1" type="text/javascript"&gt;&lt;/script&gt;</string>
<string>&lt;script src="$1"&gt;&lt;/script&gt;</string>
<key>name</key>
<string>Script With External Source</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Script.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>&lt;script type="text/javascript"&gt;
<string>&lt;script&gt;
$0
&lt;/script&gt;</string>
<key>name</key>
Expand Down

0 comments on commit 9f9e1c4

Please sign in to comment.