material_raingular 0.6.15 → 0.6.16

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: a3c389abb7137ed905f8dee7e62baadece4822df
4
- data.tar.gz: 691537a80d18a18eeacbf11508bd1eaee6d898b2
3
+ metadata.gz: fbc625768f5e2beed0a8e5cf2bfea2263ef23cb1
4
+ data.tar.gz: b978c8d7cb8afad4c83f039f10490b6ec9db4d4b
5
5
  SHA512:
6
- metadata.gz: 0ac767a0096a29883eaef2d7e55084f55966e285c82f309520820f6331ffe2615a4b269fd8452d512cb38b36d2b7cb33b67283905ab7d240be530b1471dfbf2b
7
- data.tar.gz: 1d3c90b2facf47f243a9c204530fa23c53825c1262b2faa65c125a8e6e5b264c1d2101aa891a3d359104ae0bd9944d6516fe306acce1e2f7b51636a1d1a30ed3
6
+ metadata.gz: 77bef054bc87991f3bf0e2ce5f77a3d4765b4855869b114a20971daf3b7476ca0f97404c72b1cef3bdfffc7c59a519f62026a472e9f89602e88708f9a9d750a6
7
+ data.tar.gz: 15d68bb1701deb4d1b80b01e7642706aa22261fa8c8eb7cdb464a51606f65a764e28058004fd330cec22f43511eb8dc6be5c2269845779b30fbc82a31fa889cc
@@ -1,6 +1,6 @@
1
1
  # //= require material_raingular/directives/drop_file/drop_events
2
2
  class DirectiveModels.MrDropFileModel extends AngularLinkModel
3
- @inject('$injector')
3
+ @inject('$injector','$timeout')
4
4
  initialize: ->
5
5
  [@ngModelCtrl,@mrCallbackCtrl] = @$controller
6
6
  [@model,@key] = Helpers.NgModelParse(@$attrs.ngModel,@$scope)
@@ -8,7 +8,7 @@ class DirectiveModels.MrDropFileModel extends AngularLinkModel
8
8
  new Modules.MrDropFileEvents(@$element,@fileUpload)
9
9
 
10
10
  callback: (data) =>
11
- @$scope.$apply =>
11
+ @$timeout =>
12
12
  @$scope[@model][@key] = data[@key]
13
13
  @$scope[@model].thumb = data.thumb
14
14
  @$scope[@model].id = data.id unless @$scope[@model].id
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.6.15"
2
+ VERSION = "0.6.16"
3
3
  end
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.6.15
4
+ version: 0.6.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-31 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler