Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:dongkang/Dot

  • Loading branch information...
commit d0fb0da6b2adfd73b5d4321107b006b023c25500 2 parents a696eff + e2da58d
@chorr chorr authored
Showing with 10 additions and 18 deletions.
  1. +10 −18 static/dot.app.js
View
28 static/dot.app.js
@@ -18,23 +18,6 @@ dot.Callbacks = (function(){
};
})();
-$.extend(dot, {
-
- /* const variables */
- MODE_DRAW: 'mode_draw',
- MODE_VIEW: 'mode_view',
-
- /* attributes */
- color: '#000000',
-
- initialize: function(){
- //TODO: initialize application
- },
- action: function(value){
- console.log(value + ' ' + this.color);
- }
-});
-
dot.Util = {
cssPrefix: function() {
var b = $.browser;
@@ -64,4 +47,13 @@ dot.Text = {
"LANGUAGE": "Language",
"C_CLEAR": "Do you want clear?\nIt can't be restore!"
}
-};
+};
+
+$.extend(dot, {
+ initialize: function(){
+ //TODO: initialize application
+ },
+ action: function(value){
+ console.log(value + ' ' + this.color);
+ }
+});

0 comments on commit d0fb0da

Please sign in to comment.
Something went wrong with that request. Please try again.