Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 59c0ef4

Browse files
author
Dean Sofer
committed
Updated docs and added $apply
1 parent dfffaca commit 59c0ef4

File tree

4 files changed

+32
-5
lines changed

4 files changed

+32
-5
lines changed

‎README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ git clone git://github.com/ProLoser/AngularJs.tmbundle.git ~/Library/Application
2525
* __options__
2626
* __view__
2727
* __inc__ include
28+
* __click__
2829

2930
#### Javascript
30-
* __is__ for isArray, isObject, etc
31+
* __is + [# to select]__ isArray, isObject, isDefined, isFunction, isString
3132
* __lower__ lowercase
3233
* __upper__ uppercase
3334
* __mod + dir__ new module or directive template
@@ -37,3 +38,12 @@ git clone git://github.com/ProLoser/AngularJs.tmbundle.git ~/Library/Application
3738
* __http__
3839
* __watch__
3940
* __digest__
41+
* __el__ element
42+
* __.$ + [# to select]__ $scope.$digest, $scope.$apply, $scope.$watch, $scope.$eval
43+
* __http__ $http()
44+
* __noop__
45+
* __filter__ $filter
46+
* __copy__
47+
* __mod__ angular.module(). // Includes a preceeding docblock
48+
* __dir__ directive()
49+
* __route__ $routeProvider.when

‎Snippets/$apply.tmSnippet

+16
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>.\$apply($0);</string>
7+
<key>name</key>
8+
<string>$apply</string>
9+
<key>scope</key>
10+
<string>source.js</string>
11+
<key>tabTrigger</key>
12+
<string>.$</string>
13+
<key>uuid</key>
14+
<string>03D9BA96-0B3D-41CD-9904-A67BCFD18775</string>
15+
</dict>
16+
</plist>

‎Snippets/$eval.tmSnippet

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<plist version="1.0">
44
<dict>
55
<key>content</key>
6-
<string>scope.\$eval($0);</string>
6+
<string>.\$eval($0);</string>
77
<key>name</key>
88
<string>$eval</string>
99
<key>scope</key>
1010
<string>source.js</string>
1111
<key>tabTrigger</key>
12-
<string>eval</string>
12+
<string>.$</string>
1313
<key>uuid</key>
14-
<string>E63657EF-F3BE-4312-9786-CA2573B04CB8</string>
14+
<string>11FA9828-14D3-466E-B278-6A26FB2DDEE5</string>
1515
</dict>
1616
</plist>

‎info.plist

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<string>9B72B56C-4A70-446E-BE85-F9270AEBD54A</string>
1919
<string>32FCDB03-A8CD-408C-AF18-56CBE6705C40</string>
2020
<string>523F866B-EDE6-47B4-9BF5-534E9345164F</string>
21-
<string>E63657EF-F3BE-4312-9786-CA2573B04CB8</string>
2221
<string>3DAF207C-5321-4B5D-ACD1-E01A96D57EF5</string>
2322
<string>2A7D544B-2A8C-4C45-A9EF-D08574E1FBDD</string>
2423
<string>F2229C28-5177-48A3-B07A-08742BC65A24</string>
@@ -28,8 +27,10 @@
2827
<string>9CF14F0D-4D23-4801-9857-AB1CEFD956D5</string>
2928
<string>58BD7093-5664-46AC-BD2E-F4F5BEDC4852</string>
3029
<string>E9361F3F-CF03-4D58-B67F-AC9C775209AD</string>
30+
<string>11FA9828-14D3-466E-B278-6A26FB2DDEE5</string>
3131
<string>F01B2615-C926-40E5-B68D-414E3210A495</string>
3232
<string>788B4078-CA95-49E0-AFC8-840D41DD4C1F</string>
33+
<string>03D9BA96-0B3D-41CD-9904-A67BCFD18775</string>
3334
<string>49754E5A-3C5C-447E-9147-9701CBE043BB</string>
3435
<string>46BE1EFE-E03C-43E4-AF23-26CD071EAF6D</string>
3536
<string>AF1B6523-E944-48A1-B82D-892DAA3218CA</string>

0 commit comments

Comments
 (0)