Skip to content

Instantly share code, notes, and snippets.

View gist:3923305
<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
View gist:2586842
//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'}
});
View gist:2569576
<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">
@jophof
jophof / Datatable 2.9 complex
Created Apr 26, 2012
YUI loading javascript problem
View Datatable 2.9 complex
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
You can’t perform that action at this time.