diff options
| author | Barak Korren <barak.korren@gmail.com> | 2013-04-02 20:38:07 +0300 |
|---|---|---|
| committer | Barak Korren <barak.korren@gmail.com> | 2013-04-02 20:38:07 +0300 |
| commit | 58a2577d48790c79adfd44bcfd662c980ce6cfe4 (patch) | |
| tree | 523d814ea0b7b6f617fe515b186099c6e83fed72 /lib/dijit/_FocusMixin.js.uncompressed.js | |
| parent | e470a273cf09562fb2f9c0c899002303f19c8d16 (diff) | |
| parent | cc332603431102a682feda22b9cf0093a29f0176 (diff) | |
Merge branch 'master' of https://github.com/gothfox/Tiny-Tiny-RSS.git
Diffstat (limited to 'lib/dijit/_FocusMixin.js.uncompressed.js')
| -rw-r--r-- | lib/dijit/_FocusMixin.js.uncompressed.js | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/lib/dijit/_FocusMixin.js.uncompressed.js b/lib/dijit/_FocusMixin.js.uncompressed.js deleted file mode 100644 index 31c92c139..000000000 --- a/lib/dijit/_FocusMixin.js.uncompressed.js +++ /dev/null @@ -1,66 +0,0 @@ -define("dijit/_FocusMixin", [ - "./focus", - "./_WidgetBase", - "dojo/_base/declare", // declare - "dojo/_base/lang" // lang.extend -], function(focus, _WidgetBase, declare, lang){ - - // module: - // dijit/_FocusMixin - - // We don't know where _FocusMixin will occur in the inheritance chain, but we need the _onFocus()/_onBlur() below - // to be last in the inheritance chain, so mixin to _WidgetBase. - lang.extend(_WidgetBase, { - // focused: [readonly] Boolean - // This widget or a widget it contains has focus, or is "active" because - // it was recently clicked. - focused: false, - - onFocus: function(){ - // summary: - // Called when the widget becomes "active" because - // it or a widget inside of it either has focus, or has recently - // been clicked. - // tags: - // callback - }, - - onBlur: function(){ - // summary: - // Called when the widget stops being "active" because - // focus moved to something outside of it, or the user - // clicked somewhere outside of it, or the widget was - // hidden. - // tags: - // callback - }, - - _onFocus: function(){ - // summary: - // This is where widgets do processing for when they are active, - // such as changing CSS classes. See onFocus() for more details. - // tags: - // protected - this.onFocus(); - }, - - _onBlur: function(){ - // summary: - // This is where widgets do processing for when they stop being active, - // such as changing CSS classes. See onBlur() for more details. - // tags: - // protected - this.onBlur(); - } - }); - - return declare("dijit._FocusMixin", null, { - // summary: - // Mixin to widget to provide _onFocus() and _onBlur() methods that - // fire when a widget or its descendants get/lose focus - - // flag that I want _onFocus()/_onBlur() notifications from focus manager - _focusManager: focus - }); - -}); |