Cleaned up JS, added basic documentation support for Admin Controllers

This commit is contained in:
Robin Ward
2013-02-21 12:58:21 -05:00
parent 6096a447b7
commit 13f8f3c45e
9 changed files with 101 additions and 72 deletions

View File

@@ -1,11 +1,6 @@
(function() {
window.Discourse.VersionCheck = Discourse.Model.extend({
hasInstalledSha: function() {
console.log( 'hello??' );
return( this.get('installed_sha') && this.get('installed_sha') != 'unknown' );
}.property('installed_sha')
});
window.Discourse.VersionCheck = Discourse.Model.extend({});
Discourse.VersionCheck.reopenClass({
find: function() {