extjs 4.0.7 Desktop 替換claaes.js

最近在學習Extjs 發現Demo 中有個Desktop的因而就嘗試學習一下。結果發現怎麼改都沒效果後來偶然發現 默認採用的是classes.js 爲壓縮後的js 引入已經修改後的分開的js瞬間 一切ok了。javascript

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">css

<html>html

<head>java

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">ide

<title>ExtTop - Desktop Sample App</title>學習

 

    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />ui

    <link rel="stylesheet" type="text/css" href="css/desktop.css" />htm

 

    <!-- new -->ip

    <script type="text/javascript" src="../../ext-all.js"></script>get

    <script type="text/javascript" src="../../locale/ext-lang-zh_CN.js"></script>

    <!--<script type="text/javascript" src="classes.js"></script> --> 

 

    <script type="text/javascript" src="js/Module.js"></script> 

    <script type="text/javascript" src="js/Video.js"></script> 

    <script type="text/javascript" src="js/Wallpaper.js"></script> 

    <script type="text/javascript" src="js/FitAllLayout.js"></script> 

    <script type="text/javascript" src="js/StartMenu.js"></script> 

    <script type="text/javascript" src="js/TaskBar.js"></script> 

    <script type="text/javascript" src="js/ShortcutModel.js"></script>   

    <script type="text/javascript" src="js/Desktop.js"></script> 

    <script type="text/javascript" src="js/App.js"></script> 

 

    <script type="text/javascript" src="WallpaperModel.js"></script> 

    <script type="text/javascript" src="VideoWindow.js"></script> 

    <script type="text/javascript" src="BogusModule.js"></script> 

    <script type="text/javascript" src="BogusMenuModule.js"></script> 

    <script type="text/javascript" src="Settings.js"></script> 

    <script type="text/javascript" src="TabWindow.js"></script> 

    <script type="text/javascript" src="GridWindow.js"></script> 

    <script type="text/javascript" src="AccordionWindow.js"></script> 

    <script type="text/javascript" src="SystemStatus.js"></script> 

    <script type="text/javascript" src="Notepad.js"></script> 

<script type="text/javascript" src="start_menu.js"></script> 

    <script type="text/javascript" src="App.js"></script> 

    

 

    <script type="text/javascript">

        Ext.Loader.setPath({

            'Ext.ux.desktop': 'js',

            MyDesktop: ''

        });

 

        Ext.require('MyDesktop.App');

 

        var myDesktopApp;

        Ext.onReady(function () {

            myDesktopApp = new MyDesktop.App();

        });

    </script>

</head>

 

<body>

 

    <a href="http://www.sencha.com" target="_blank" alt="Powered by Ext JS"

       id="poweredby"><div></div></a>

 

</body>

</html>

相關文章
相關標籤/搜索