Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Spine MVC detection #39

Merged
merged 1 commit into from Mar 13, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions apps.js
Expand Up @@ -448,6 +448,11 @@ var appinfo = {
url: 'http://RightJS.org/', url: 'http://RightJS.org/',
priority: 2 priority: 2
}, },
'Spine': {
icon: 'spine.ico',
url: 'http://spinejs.com',
priority: 2
},


// ==== js tools ==== // ==== js tools ====
'Raphael': { 'Raphael': {
Expand Down
Binary file added apps/spine.ico
Binary file not shown.
7 changes: 7 additions & 0 deletions detector.js
Expand Up @@ -291,6 +291,9 @@
'Underscore.js': function() { 'Underscore.js': function() {
return window._ && typeof(window._.identity) === 'function' return window._ && typeof(window._.identity) === 'function'
&& window._.identity('abc') === 'abc'; && window._.identity('abc') === 'abc';
},
'Spine': function() {
return window.Spine != null;
} }
}; };


Expand Down Expand Up @@ -358,6 +361,10 @@
'Underscore.js': function() { 'Underscore.js': function() {
if (window._ && window._.VERSION) if (window._ && window._.VERSION)
return window._.VERSION; return window._.VERSION;
},
'Spine': function() {
if(window.Spine && window.Spine.version)
return window.Spine.version;
} }
}; };


Expand Down