pinkman 0.9.1.8 → 0.9.1.9
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.js +1 -2
- data/lib/pinkman/version.rb +1 -1
- metadata +1 -2
- data/app/assets/javascripts/pinkman_base/ajax.coffee +0 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28b5e2aee68bfcbb2e5df9fa35c8eaa336de6ad2
|
4
|
+
data.tar.gz: c66a229e145856407ab7c2e1b27cc9b2cecdfa0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e3a2e863e14057b5aae53642d74e2c6f3e012c809d2fb28b3fbfe3616809a530a6e9ea3de749ce91f64e117890adb3cb6562df1f30cc0e2fbf5358edbf921e
|
7
|
+
data.tar.gz: 8504a6a5a5d04c221df84d4d7d55baf4c3eb5d6fc27b1d82cee8637a34166e91d026a2aa5a9bcbaf8dc5f16edf53307b02ae2a39dc3c8a6e2af549f2505e7403
|
data/lib/pinkman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agilso Oliveira
|
@@ -179,7 +179,6 @@ files:
|
|
179
179
|
- README.md
|
180
180
|
- Rakefile
|
181
181
|
- app/assets/javascripts/pinkman.js
|
182
|
-
- app/assets/javascripts/pinkman_base/ajax.coffee
|
183
182
|
- app/assets/javascripts/pinkman_base/collection.coffee
|
184
183
|
- app/assets/javascripts/pinkman_base/common.coffee
|
185
184
|
- app/assets/javascripts/pinkman_base/controller.coffee
|
@@ -1,90 +0,0 @@
|
|
1
|
-
# @ajax:
|
2
|
-
# get: (options) ->
|
3
|
-
# if options.url?
|
4
|
-
# ajax = jQuery.ajax options.url,
|
5
|
-
# type: "GET"
|
6
|
-
# dataType: 'json'
|
7
|
-
# ajax.done (response) =>
|
8
|
-
# if response.errors?
|
9
|
-
# options.error(response) if options.error? and typeof options.error == 'function'
|
10
|
-
# return false
|
11
|
-
# else
|
12
|
-
# options.success(response) if options.success? and typeof options.success == 'function'
|
13
|
-
# options.complete(response) if options.complete? and typeof options.complete == 'function'
|
14
|
-
# return this
|
15
|
-
# else
|
16
|
-
# return false
|
17
|
-
|
18
|
-
# post: (options) ->
|
19
|
-
# if options.url?
|
20
|
-
# ajax = jQuery.ajax options.url,
|
21
|
-
# beforeSend: (xhr) ->
|
22
|
-
# xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))
|
23
|
-
# type: "POST"
|
24
|
-
# dataType: 'json'
|
25
|
-
# data: options.data
|
26
|
-
# ajax.done (response) =>
|
27
|
-
# if response.errors?
|
28
|
-
# options.error(this) if options.error? and typeof options.error == 'function'
|
29
|
-
# return false
|
30
|
-
# else
|
31
|
-
# options.success(response) if options.success? and typeof options.success == 'function'
|
32
|
-
# options.complete(response) if options.complete? and typeof options.complete == 'function'
|
33
|
-
# return this
|
34
|
-
# else
|
35
|
-
# return false
|
36
|
-
|
37
|
-
# put: (options) ->
|
38
|
-
# if options.url?
|
39
|
-
# ajax = jQuery.ajax options.url,
|
40
|
-
# beforeSend: (xhr) ->
|
41
|
-
# xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))
|
42
|
-
# type: "PUT"
|
43
|
-
# dataType: 'json'
|
44
|
-
# data: options.data
|
45
|
-
# ajax.done (response) =>
|
46
|
-
# if response.errors?
|
47
|
-
# options.error(this) if options.error? and typeof options.error == 'function'
|
48
|
-
# return false
|
49
|
-
# else
|
50
|
-
# options.success(response) if options.success? and typeof options.success == 'function'
|
51
|
-
# options.complete(response) if options.complete? and typeof options.complete == 'function'
|
52
|
-
# return this
|
53
|
-
# else
|
54
|
-
# return false
|
55
|
-
|
56
|
-
|
57
|
-
# file: (options) ->
|
58
|
-
# if options.url?
|
59
|
-
# ajax = jQuery.ajax options.url,
|
60
|
-
# beforeSend: (xhr) ->
|
61
|
-
# xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))
|
62
|
-
# xhr: ->
|
63
|
-
# myXhr = $.ajaxSettings.xhr()
|
64
|
-
# myXhr.upload.addEventListener 'progress', (e) ->
|
65
|
-
# if e.lengthComputable
|
66
|
-
# options.progress e.loaded/e.total if options.progress?
|
67
|
-
# , false
|
68
|
-
# myXhr.addEventListener 'progress', (e) ->
|
69
|
-
# if e.lengthComputable
|
70
|
-
# options.progress e.loaded/e.total if options.progress?
|
71
|
-
# , false
|
72
|
-
# return myXhr
|
73
|
-
# type: "POST"
|
74
|
-
# dataType: 'json'
|
75
|
-
# data: options.data
|
76
|
-
# processData: false
|
77
|
-
# contentType: false
|
78
|
-
# ajax.done (response) =>
|
79
|
-
# if response? and response.errors?
|
80
|
-
# options.error(this) if options.error? and typeof options.error == 'function'
|
81
|
-
# return false
|
82
|
-
# else
|
83
|
-
# options.success(response) if options.success? and typeof options.success == 'function'
|
84
|
-
# options.complete(response) if options.complete? and typeof options.complete == 'function'
|
85
|
-
# return this
|
86
|
-
# else
|
87
|
-
# return false
|
88
|
-
|
89
|
-
# upload: (options...) ->
|
90
|
-
# @file(options...)
|