pinkman 0.9.1.15 → 0.9.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/pinkman_base/common.coffee +3 -1
- data/lib/pinkman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d52f585a4e471dfea3d754ec4afaeff63e8d688
|
4
|
+
data.tar.gz: 074fd2479bb01ad0b53336f30b251267c5d87ef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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'
|
data/lib/pinkman/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|