ymdp 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ymdp/javascripts/jquery/ajax.js +3 -3
- data/lib/ymdp/javascripts/jquery/application.js +1 -1
- data/lib/ymdp/javascripts/jquery/debug.js +1 -1
- data/lib/ymdp/javascripts/jquery/init.js +14 -10
- data/lib/ymdp/javascripts/jquery/reporter.js +1 -1
- data/lib/ymdp/javascripts/prototype/reporter.js +1 -1
- data/ymdp.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.5
|
@@ -28,7 +28,7 @@ OIB = {
|
|
28
28
|
var success;
|
29
29
|
|
30
30
|
success = function(response) {
|
31
|
-
response = JSON.parse(response.data);
|
31
|
+
response = YAHOO.lang.JSON.parse(response.data);
|
32
32
|
if (response.error) {
|
33
33
|
if (error_function) {
|
34
34
|
error_function(response);
|
@@ -113,7 +113,7 @@ OIB = {
|
|
113
113
|
if (debug) {
|
114
114
|
Debug.log("inside OIB.request: ", {
|
115
115
|
"oib_path": oib_path,
|
116
|
-
"params": JSON.stringify(params)
|
116
|
+
"params": YAHOO.lang.JSON.stringify(params)
|
117
117
|
});
|
118
118
|
}
|
119
119
|
|
@@ -151,7 +151,7 @@ OIB = {
|
|
151
151
|
debug = !params["_hide_debug"];
|
152
152
|
|
153
153
|
if (debug) {
|
154
|
-
message = "OIB.error: " + JSON.stringify(response) + " calling url: " + url + "?" + $.param(params);
|
154
|
+
message = "OIB.error: " + YAHOO.lang.JSON.stringify(response) + " calling url: " + url + "?" + $.param(params);
|
155
155
|
Debug.error(message);
|
156
156
|
}
|
157
157
|
},
|
@@ -66,7 +66,7 @@ YMDP.showError = function(options) {
|
|
66
66
|
params = {};
|
67
67
|
params["description"] = options["description"];
|
68
68
|
params["method_name"] = options["method"];
|
69
|
-
params["error"] = JSON.stringify(options["error"]);
|
69
|
+
params["error"] = YAHOO.lang.JSON.stringify(options["error"]);
|
70
70
|
params["page"] = View.name;
|
71
71
|
|
72
72
|
Reporter.error(YMDP.guid, params);
|
@@ -84,16 +84,20 @@ YMDP.Init.after = function() {
|
|
84
84
|
|
85
85
|
// Execute the before, startup and after methods. Do not overwrite. (Change YMDP.Init.startup to create a custom initializer.)
|
86
86
|
YMDP.init = function() {
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
87
|
+
try {
|
88
|
+
Debug.log("OIB.init for view " + View.name, "<%= @message %>");
|
89
|
+
Logger.init();
|
90
|
+
Tags.init();
|
91
|
+
YMDP.Init.browser();
|
92
|
+
YMDP.Init.resources();
|
93
|
+
I18n.addLanguageToBody();
|
94
|
+
I18n.translateLoading();
|
95
|
+
I18n.translateError();
|
96
|
+
YMDP.Init.before();
|
97
|
+
YMDP.Init.startup();
|
98
|
+
} catch (omg) {
|
99
|
+
alert(omg.message);
|
100
|
+
}
|
97
101
|
};
|
98
102
|
|
99
103
|
YMDP.Init.browser = function() {
|
data/ymdp.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ymdp}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Isaac Priestley"]
|
12
|
-
s.date = %q{2011-06-
|
12
|
+
s.date = %q{2011-06-16}
|
13
13
|
s.description = %q{Framework for developing applications in the Yahoo! Mail Development Platform.}
|
14
14
|
s.email = %q{progressions@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ymdp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 5
|
10
|
+
version: 0.7.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Isaac Priestley
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-16 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|