ymdp 0.8.3 → 0.8.4
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.
- data/VERSION +1 -1
- data/lib/ymdp/javascripts/jquery/init.js +19 -19
- data/ymdp.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.4
|
@@ -83,35 +83,35 @@ YMDP.Init.after = function() {
|
|
83
83
|
};
|
84
84
|
|
85
85
|
YMDP.setJSON = function() {
|
86
|
-
|
87
|
-
|
88
|
-
return true;
|
89
|
-
}
|
90
|
-
} catch(wtf) {
|
91
|
-
// JSON doesn't exist, testing it throws an error in IE7 so we catch the error.
|
86
|
+
if (typeof(JSON) !== 'undefined') {
|
87
|
+
return true;
|
92
88
|
}
|
93
|
-
if (YUI) {
|
89
|
+
if (typeof(YUI) !== 'undefined') {
|
94
90
|
YUI().use('json', function(Y) {
|
95
91
|
return window.JSON = Y.JSON;
|
96
92
|
});
|
97
|
-
} else if (YAHOO.lang) {
|
93
|
+
} else if (typeof(YAHOO) !== 'undefined' && typeof(YAHOO.lang) !== 'undefined') {
|
98
94
|
window.JSON = YAHOO.lang.JSON;
|
99
95
|
}
|
100
96
|
};
|
101
97
|
|
102
98
|
// Execute the before, startup and after methods. Do not overwrite. (Change YMDP.Init.startup to create a custom initializer.)
|
103
99
|
YMDP.init = function() {
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
100
|
+
try {
|
101
|
+
YMDP.setJSON(); // must set JSON first because Debug uses it
|
102
|
+
Debug.log("OIB.init for view " + View.name, "<%= @message %>");
|
103
|
+
Logger.init();
|
104
|
+
Tags.init();
|
105
|
+
YMDP.Init.browser();
|
106
|
+
YMDP.Init.resources();
|
107
|
+
I18n.addLanguageToBody();
|
108
|
+
I18n.translateLoading();
|
109
|
+
I18n.translateError();
|
110
|
+
YMDP.Init.before();
|
111
|
+
YMDP.Init.startup();
|
112
|
+
} catch(wtff) {
|
113
|
+
Debug.error(wtff.message);
|
114
|
+
}
|
115
115
|
};
|
116
116
|
|
117
117
|
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.8.
|
8
|
+
s.version = "0.8.4"
|
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-07-06}
|
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: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 4
|
10
|
+
version: 0.8.4
|
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-07-06 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|