pinkman 0.9.1.15 → 0.9.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19b44ddb0d7820d6ac426767bf9f299a3dc7347e
4
- data.tar.gz: 7828d5640b787d375ac8704b31f26d742a40dda5
3
+ metadata.gz: 9d52f585a4e471dfea3d754ec4afaeff63e8d688
4
+ data.tar.gz: 074fd2479bb01ad0b53336f30b251267c5d87ef2
5
5
  SHA512:
6
- metadata.gz: 061dd15569811d59050a9c2db2b07cdba68bc2bcb9a0fe6f8f8c063406acb19728cb25c36f0fa01e267de3c696e1c65ca6a706be703d411e5f87115c60efc2a5
7
- data.tar.gz: 327dccf0a702878fcf1df7249bf7487b64c0c2a1e07c9bc75f8f8bbd17679b5b2b6175fe31150bf227b91850284e69200cbb421881b5485b1c11cbb736d152db
6
+ metadata.gz: 63267760d69ebae4c909bcc1ce802cada2e2f7b66ec25970d033b763db44e00883c15399cddaca1eae8eff7da7c9c0e97a6f1a52c442389b7812868b2b85c4d7
7
+ data.tar.gz: 6c3a7476b42f705fbcae0e60e0dbe0f43c042b48acbbf24323c21daf6013672d4b15c7a358921e6bdac2a74b1abd9d7c68a57063cf1781f4f533c151d76f56ec
@@ -53,6 +53,7 @@ class window.PinkmanCommon
53
53
  render: (options) ->
54
54
  if typeof options == 'object'
55
55
  options.object = this
56
+ options.template = options.target + '-template' unless options.template? and options.template != ''
56
57
  Pinkman.render options
57
58
  else if typeof options == 'string'
58
59
  opts = {object: this, target: options, template: options + '-template'}
@@ -65,7 +66,8 @@ class window.PinkmanCommon
65
66
 
66
67
 
67
68
  append: (options) ->
68
- if options? and typeof options == 'object' and options.template? and options.target?
69
+ if options? and typeof options == 'object' and options.target?
70
+ options.template = options.target + '-template' unless options.template? and options.template != ''
69
71
  newOptions = new Object
70
72
  for k,v of options
71
73
  newOptions[k] = v if k != 'target' and k != 'callback'
@@ -1,3 +1,3 @@
1
1
  module Pinkman
2
- VERSION = "0.9.1.15"
2
+ VERSION = "0.9.1.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinkman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.15
4
+ version: 0.9.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agilso Oliveira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-10 00:00:00.000000000 Z
11
+ date: 2017-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler