~makyo/juju-gui/drag-interrupted-1099921

« back to all changes in this revision

Viewing changes to app/views/topology/viewport.js

  • Committer: Matthew Scott
  • Date: 2013-02-01 18:49:00 UTC
  • mfrom: (357.2.6 juju-gui)
  • Revision ID: matthew.scott@canonical.com-20130201184900-0pq1u7lp1xxfkjbc
Merged with trunk; dragging no longer interrupted in multiple browser windows.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
     * make it easy for tests to substitute their own container.
26
26
     *
27
27
     * @return {Object} A DOM node.
 
28
     * @method getContainer
28
29
     */
29
30
    getContainer: function() {
30
31
      return this.get('container');
71
72
     * sizes.
72
73
     *
73
74
     * @return {undefined} Nothing, this function generates only side effects.
 
75
     * @method resized.
74
76
     */
75
77
    resized: function() {
76
78
      var container = this.getContainer();