material_raingular 0.0.3.9 → 0.0.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb667c540f758c3a45a046bba699a532a9d05a6a
|
4
|
+
data.tar.gz: 988ce723b3209d058fa1b735f832e05f174578bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0bf5df968ca573aec77044808570b411f781d992c2526e1b72d1ed020ecf859244bf9bce2cd0817663fabc8fc3061603ec4c187f94113cb179aeac6d20de0e1
|
7
|
+
data.tar.gz: 2308d86b262ac4cba321c9d69aa8a05ecc62f122b074cef20273a16967c93c82d60d20615160a3f521b38d29f2f19ac9d2463bf433e49d52d6e230d35ce57694
|
@@ -8,6 +8,13 @@ angular.module('NgSortable', [])
|
|
8
8
|
scope.howToSortField(resource)
|
9
9
|
sortableFunc = $parse(attributes.ngSortable)
|
10
10
|
icon = element.find('i')
|
11
|
+
if Object.keys(attributes).includes('ngInitialSort')
|
12
|
+
scope.howToSortField = sortableFunc
|
13
|
+
if attributes.ngInitialSort == 'reverse'
|
14
|
+
scope.sortableReverse = true
|
15
|
+
icon.addClass('up')
|
16
|
+
else
|
17
|
+
icon.addClass('down')
|
11
18
|
icon.bind 'click', ->
|
12
19
|
element.parent().find('i').removeClass('up')
|
13
20
|
element.parent().find('i').removeClass('down')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material_raingular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Moody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|