Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit dfffaca

Browse files
author
Dean Sofer
committed
Added copy and element, tweaked extend
1 parent 2a699f7 commit dfffaca

File tree

4 files changed

+35
-1
lines changed

4 files changed

+35
-1
lines changed

‎Snippets/copy.tmSnippet‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>content</key>
6+
<string>angular.copy(${1:source}${2:, ${3:destination}})</string>
7+
<key>name</key>
8+
<string>copy</string>
9+
<key>scope</key>
10+
<string>source.js</string>
11+
<key>tabTrigger</key>
12+
<string>copy</string>
13+
<key>uuid</key>
14+
<string>BF31243C-92F3-4A10-B7E6-1F703DD09C20</string>
15+
</dict>
16+
</plist>

‎Snippets/element.tmSnippet‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>content</key>
6+
<string>angular.element(${1:element});</string>
7+
<key>name</key>
8+
<string>element</string>
9+
<key>scope</key>
10+
<string>source.js</string>
11+
<key>tabTrigger</key>
12+
<string>el</string>
13+
<key>uuid</key>
14+
<string>06AFB4DE-5957-4995-A1CE-71E386652C20</string>
15+
</dict>
16+
</plist>

‎Snippets/extend.tmSnippet‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>content</key>
6-
<string>angular.extend(${1:destinationObject}, ${2:sourceObject});</string>
6+
<string>angular.extend(${1:destinationObject}, ${2:sourceObject})</string>
77
<key>name</key>
88
<string>extend</string>
99
<key>scope</key>

‎info.plist‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<string>F2229C28-5177-48A3-B07A-08742BC65A24</string>
2525
<string>231D752E-BDB7-426B-8AF3-E765E7A08FC3</string>
2626
<string>CC8582E5-1F66-4BFB-920C-55921CF4FCDA</string>
27+
<string>BF31243C-92F3-4A10-B7E6-1F703DD09C20</string>
2728
<string>9CF14F0D-4D23-4801-9857-AB1CEFD956D5</string>
2829
<string>58BD7093-5664-46AC-BD2E-F4F5BEDC4852</string>
2930
<string>E9361F3F-CF03-4D58-B67F-AC9C775209AD</string>
@@ -37,6 +38,7 @@
3738
<string>E6D2486E-5BE6-41D6-92D9-0CCD59E8AEA8</string>
3839
<string>8B9A3861-74DF-4A9D-B508-255C49F527BE</string>
3940
<string>AB8316EE-388D-4EB2-AF54-1A76E792BC62</string>
41+
<string>06AFB4DE-5957-4995-A1CE-71E386652C20</string>
4042
</array>
4143
<key>uuid</key>
4244
<string>169EEC8E-A42C-4C5A-90D7-00AA3F18283D</string>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /