Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated Flash drop command to allow for multiple files

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/HTML.tmbundle@8611 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 42b9ac42aefdf743a99b55c398d3c05fda9e3ade 1 parent 402854f
subtlegradient authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 DragCommands/Insert Flash Movie (Swf).tmDragCommand
View
8 DragCommands/Insert Flash Movie (Swf).tmDragCommand
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
@@ -107,10 +107,10 @@ swf = Swf.new(file)
if (ENV["TM_MODIFIER_FLAGS"] == "OPTION")
print &lt;&lt;HTML
-&lt;div id="${1:#{name}}"&gt;&lt;/div&gt;
+$1&lt;div id="${10:#{name}}"&gt;&lt;/div&gt;
&lt;script type="text/javascript" charset="utf-8"&gt;
- var so = new SWFObject("#{file}", "${2:#{name}_swf}", "#{swf.width}", "#{swf.height}", "#{swf.version}", "#{swf.bgcolor}");
- so.write("$1");
+ var so = new SWFObject("#{file}", "${20:#{name}_swf}", "#{swf.width}", "#{swf.height}", "#{swf.version}", "#{swf.bgcolor}");
+ so.write("$10");
&lt;/script&gt;
HTML
else
Please sign in to comment.
Something went wrong with that request. Please try again.