Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jophof
jophof / Datatable 2.9 complex
Created April 26, 2012 09:36
YUI loading javascript problem
My file runs from a tomcat server. The relevant files are included
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.9.0/build/yahoo-dom-event/yahoo-dom-event.js&2.9.0/build/animation/animation-min.js&2.9.0/build/dragdrop/dragdrop-min.js&2.9.0/build/element/element-min.js&2.9.0/build/paginator/paginator-min.js&2.9.0/build/datasource/datasource-min.js&2.9.0/build/datatable/datatable-min.js"></script>
the example is displayed fine
when I change it to this more readable:
<script type="text/javascript" src="../include/yui_2.9.0/build/yahoo-dom-event/yahoo-dom-event.js" /> // this file is loaded fine
<script type="text/javascript" src="../include/yui_2.9.0/build/animation/animation-min.js" /> // this one comes not to the end if I put this line first I got Yahoo undefined
<html>
<head>
<!-- Combo-handled YUI CSS files: -->
<link rel="stylesheet" type="text/css" href="../include/yui_2.9.0/build/button/assets/skins/sam/button.css">
<link rel="stylesheet" type="text/css" href="../include/yui_2.9.0/build/datatable/assets/skins/sam/datatable.css">
<link rel="stylesheet" type="text/css" href="../include/yui_2.9.0/build/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="../include/yui_2.9.0/build/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="../include/yui_2.9.0/build/base/base-min.css">
<link rel="stylesheet" type="text/css" href="../include/yui_2.9.0/build/assets/skins/sam/skin.css">
//http://192.168.1.47:8080/webapp_ios/mvillacomfort/
//http://jophosting.dnsdynamic.com:8080/webapp_ios/mvillacomfort/
//http://openmodeling.dnsdynamic.com:8080/webapp_ios/mvillacomfort/
//http://192.168.1.47:8080/webapp_ios/sencha-touch-2.0.0-gpl/
Ext.define('MyApp.view.TitleBar_', {
extend: 'Ext.TitleBar',
xtype: 'titlebar_',
config: {docked:'top'}
});
@jophof
jophof / gist:3923305
Created October 20, 2012 13:43
OM code
<html>
<meta http-equiv="Pragma" content="no-cache">
<title>Entityviewer YUI</title>
<head>
<!--
* Open Modeling Environment
* Copyright (C) 2012 Open Modeling Foundation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License