forked from pivotalexperimental/jasmine-tmbundle
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Corey Innis and John Pignata
committed
May 25, 2010
0 parents
commit 136e73b
Showing
38 changed files
with
844 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!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> | ||
<string>nop</string> | ||
<key>command</key> | ||
<string>#!/usr/bin/env sh | ||
open "http://localhost:8888/"</string> | ||
<key>input</key> | ||
<string>none</string> | ||
<key>keyEquivalent</key> | ||
<string>@r</string> | ||
<key>name</key> | ||
<string>Run Examples</string> | ||
<key>output</key> | ||
<string>showAsTooltip</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>uuid</key> | ||
<string>EC249A94-DCB0-4A31-903E-408C40F18C11</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!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> | ||
<string>nop</string> | ||
<key>command</key> | ||
<string>#!/usr/bin/env sh | ||
cat <<'RUBYEOF' > /tmp/textmate-command-$$.rb | ||
require ENV['TM_BUNDLE_SUPPORT'] + "/lib/jasmine/switch_command" | ||
Jasmine::SwitchCommand.new.go_to_twin(ENV['TM_PROJECT_DIRECTORY'], ENV['TM_FILEPATH']) | ||
RUBYEOF | ||
${TM_RUBY:-ruby} /tmp/textmate-command-$$.rb; exit_status=$?; rm /tmp/textmate-command-$$.rb; exit $exit_status</string> | ||
<key>input</key> | ||
<string>none</string> | ||
<key>keyEquivalent</key> | ||
<string>^$</string> | ||
<key>name</key> | ||
<string>Alternate File</string> | ||
<key>output</key> | ||
<string>showAsTooltip</string> | ||
<key>scope</key> | ||
<string>source.js</string> | ||
<key>uuid</key> | ||
<string>319E1B7D-8394-4CF1-8039-761704C21E45</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!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> | ||
<string>nop</string> | ||
<key>command</key> | ||
<string>cd "$TM_BUNDLE_PATH" | ||
echo "<pre>" | ||
[ -d ".svn" ] && svn up | ||
[ -d ".git" ] && git pull | ||
[ ! -d .svn ] && [ ! -d .git ] && echo "You must install the Jasmine bundle using Subversion or Git in order to update via this command." | ||
osascript -e 'tell app "TextMate" to reload bundles' | ||
echo "</pre>"</string> | ||
<key>input</key> | ||
<string>selection</string> | ||
<key>name</key> | ||
<string>Update Bundle</string> | ||
<key>output</key> | ||
<string>showAsHTML</string> | ||
<key>uuid</key> | ||
<string>C7E8B28E-012E-4772-B4B3-A83F7B4C8A31</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>afterEach(function() { | ||
$0 | ||
});</string> | ||
<key>name</key> | ||
<string>after each</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>aft</string> | ||
<key>uuid</key> | ||
<string>AE19C012-687A-43C5-B1B3-A9DF55CE2E02</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>jasmine.any($1)</string> | ||
<key>name</key> | ||
<string>any</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>any</string> | ||
<key>uuid</key> | ||
<string>FBE3DE6C-DC75-4224-B26E-B4EA6FE4C38E</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>beforeEach(function() { | ||
$0 | ||
});</string> | ||
<key>name</key> | ||
<string>before each</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>bef</string> | ||
<key>uuid</key> | ||
<string>C32FD427-4E1F-4BBC-A9FF-023DA465629F</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>describe("${1:description}", function() { | ||
$0 | ||
});</string> | ||
<key>name</key> | ||
<string>describe</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>des</string> | ||
<key>uuid</key> | ||
<string>04750DD6-B123-4121-8C14-361322874BDF</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not.toBeDefined();</string> | ||
<key>name</key> | ||
<string>expect not to be defined</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>notd</string> | ||
<key>uuid</key> | ||
<string>E86E40FA-0964-4CA6-A35E-E562FF9788B8</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not.toBeFalsy();</string> | ||
<key>name</key> | ||
<string>expect not to be falsy</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>notf</string> | ||
<key>uuid</key> | ||
<string>95461AC7-0F0F-4D76-8EA2-5AA4E1FBC2A7</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not.toBeNull();</string> | ||
<key>name</key> | ||
<string>expect not to be null</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>notn</string> | ||
<key>uuid</key> | ||
<string>51A4FC2F-7EAE-4153-9BEA-3771F1EEAF69</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not.toBeTruthy();</string> | ||
<key>name</key> | ||
<string>expect not to be truthy</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>nott</string> | ||
<key>uuid</key> | ||
<string>E8AAF148-4084-42C2-B5AC-FCB969B9732A</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not.toContain(${2:value});</string> | ||
<key>name</key> | ||
<string>expect not to contain</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>notc</string> | ||
<key>uuid</key> | ||
<string>04643901-054A-4C97-9F26-E7704C75D1A3</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not.toEqual(${2:value});</string> | ||
<key>name</key> | ||
<string>expect not to equal</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>note</string> | ||
<key>uuid</key> | ||
<string>881E3CF0-0D58-4AEE-851B-16AB65875AA1</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not.toMatch(${2:pattern});</string> | ||
<key>name</key> | ||
<string>expect not to match</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>notm</string> | ||
<key>uuid</key> | ||
<string>2B416A23-4DD1-4E11-AA8F-030CB5DD4316</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).not$0;</string> | ||
<key>name</key> | ||
<string>expect not</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>notx</string> | ||
<key>uuid</key> | ||
<string>B4EB994B-A5CA-4B78-BAE9-A81BB4EF6204</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).toBeDefined();</string> | ||
<key>name</key> | ||
<string>expect to be defined</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>ed</string> | ||
<key>uuid</key> | ||
<string>0A88A2A1-3A5A-4F3E-AE9A-D924275ADB3D</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).toBeFalsy();</string> | ||
<key>name</key> | ||
<string>expect to be falsy</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>ef</string> | ||
<key>uuid</key> | ||
<string>00F58D6A-507D-4ED2-94C7-DEEE38DB5DCD</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).toBeNull();</string> | ||
<key>name</key> | ||
<string>expect to be null</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>en</string> | ||
<key>uuid</key> | ||
<string>F0DF1C99-CB9E-4366-B6B1-D19DE58CDDA4</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).toBeTruthy();</string> | ||
<key>name</key> | ||
<string>expect to be truthy</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>et</string> | ||
<key>uuid</key> | ||
<string>CC612FA5-51EC-48D0-96C9-C39E61F9DD06</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).toContain(${2:value});</string> | ||
<key>name</key> | ||
<string>expect to contain</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>ec</string> | ||
<key>uuid</key> | ||
<string>BA6991F2-7A1F-4F40-A016-9A967A96546F</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>expect(${1:target}).toEqual(${2:value});</string> | ||
<key>name</key> | ||
<string>expect to equal</string> | ||
<key>scope</key> | ||
<string>source.js.jasmine</string> | ||
<key>tabTrigger</key> | ||
<string>ee</string> | ||
<key>uuid</key> | ||
<string>CB33CF32-BBFB-443E-BAA1-0DB331108AED</string> | ||
</dict> | ||
</plist> |
Oops, something went wrong.