~dongpo-deng/sahana-eden/test

« back to all changes in this revision

Viewing changes to static/scripts/ext-2.2.1/air/src/App.js

  • Committer: Deng Dongpo
  • Date: 2010-08-01 09:29:44 UTC
  • Revision ID: dongpo@dhcp-21193.iis.sinica.edu.tw-20100801092944-8t9obt4xtl7otesb
initial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Ext JS Library 0.30
 
3
 * Copyright(c) 2006-2009, Ext JS, LLC.
 
4
 * licensing@extjs.com
 
5
 * 
 
6
 * http://extjs.com/license
 
7
 */
 
8
 
 
9
Ext.air.App = function() {
 
10
    return {
 
11
        launchOnStartup: function(launch) {
 
12
            air.NativeApplication.nativeApplication.startAtLogin = !!launch;
 
13
        },
 
14
        getActiveWindow: function() {
 
15
            return air.NativeApplication.activeWindow;
 
16
        }
 
17
    };
 
18
}();
 
 
b'\\ No newline at end of file'