~ubuntu-branches/ubuntu/raring/maas/raring-updates

« back to all changes in this revision

Viewing changes to src/maasserver/static/jslibs/yui/3.4.1/build/event-valuechange/event-valuechange-min.js

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2012-07-03 17:42:37 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20120703174237-p8l0keuuznfg721k
Tags: 0.1+bzr709+dfsg-0ubuntu1
* New Upstream release
* debian/control:
  - Depends on python-celery, python-tempita, libjs-yui3-{full,min},
    libjs-raphael
* debian/maas.install:
  - Install apiclient, celeryconfig.py, maas-import-pxe-files, preseeds_v2.
  - Update to install various files from chroot, rather tha manually copy
    them from the source.
* debian/maas.links: symlink celeryconfig.py
* debian/maas.maas-celery.upstart: Add job.
* debian/rules:
  - Install celery upstart job.
  - Do not install jslibs as packages are now used.
  - Drop copying of maas_local_settings_sample.py as source now ships
    a maas_local_settings.py
* debian/patches:
  - 04-maas-http-fix.patch: Drop. Merged upstream.
  - 01-fix-database-settings.patch: Refreshed.
  - 99_enums_js.patch: Added until creation of enum.js / build process
    is fixed.
* debian/maas.postinst: Update bzr version to correctly handle upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
YUI 3.4.1 (build 4118)
3
 
Copyright 2011 Yahoo! Inc. All rights reserved.
4
 
Licensed under the BSD License.
5
 
http://yuilibrary.com/license/
6
 
*/
7
 
YUI.add("event-valuechange",function(d){var b=d.Array,c="value",a={POLL_INTERVAL:50,TIMEOUT:10000,_history:{},_intervals:{},_notifiers:{},_timeouts:{},_poll:function(j,g,k){var i=j._node,f=i&&i.value,l=a._history[g],h;if(!i){a._stopPolling(j,g);return;}if(f!==l){a._history[g]=f;h={_event:k,newVal:f,prevVal:l};b.each(a._notifiers[g],function(e){e.fire(h);});a._refreshTimeout(j,g);}},_refreshTimeout:function(f,e){a._stopTimeout(f,e);a._timeouts[e]=setTimeout(function(){a._stopPolling(f,e);},a.TIMEOUT);},_startPolling:function(g,f,i,h){if(!f){f=d.stamp(g);}if(!h&&a._intervals[f]){return;}a._stopPolling(g,f);a._intervals[f]=setInterval(function(){a._poll(g,f,i);},a.POLL_INTERVAL);a._refreshTimeout(g,f,i);},_stopPolling:function(f,e){if(!e){e=d.stamp(f);}a._intervals[e]=clearInterval(a._intervals[e]);a._stopTimeout(f,e);},_stopTimeout:function(f,e){if(!e){e=d.stamp(f);}a._timeouts[e]=clearTimeout(a._timeouts[e]);},_onBlur:function(f){a._stopPolling(f.currentTarget);},_onFocus:function(g){var f=g.currentTarget;a._history[d.stamp(f)]=f.get(c);a._startPolling(f,null,g);},_onKeyDown:function(f){a._startPolling(f.currentTarget,null,f);},_onKeyUp:function(f){if(f.charCode===229||f.charCode===197){a._startPolling(f.currentTarget,null,f,true);}},_onMouseDown:function(f){a._startPolling(f.currentTarget,null,f);},_onSubscribe:function(i,h,g){var f=d.stamp(i),e=a._notifiers[f];a._history[f]=i.get(c);g._handles=i.on({blur:a._onBlur,focus:a._onFocus,keydown:a._onKeyDown,keyup:a._onKeyUp,mousedown:a._onMouseDown});if(!e){e=a._notifiers[f]=[];}e.push(g);},_onUnsubscribe:function(j,i,h){var g=d.stamp(j),e=a._notifiers[g],f=b.indexOf(e,h);h._handles.detach();if(f!==-1){e.splice(f,1);if(!e.length){a._stopPolling(j,g);delete a._notifiers[g];delete a._history[g];}}}};d.Event.define("valueChange",{detach:a._onUnsubscribe,on:a._onSubscribe,publishConfig:{emitFacade:true}});d.ValueChange=a;},"3.4.1",{requires:["event-focus","event-synthetic"]});
 
 
b'\\ No newline at end of file'