Skip to content

Instantly share code, notes, and snippets.

@johnyanarella
Created August 31, 2012 11:19
Show Gist options
  • Save johnyanarella/3551608 to your computer and use it in GitHub Desktop.
Save johnyanarella/3551608 to your computer and use it in GitHub Desktop.
Configuring Ext JS's Loader to load individual Deft JS files during development.
<!DOCTYPE HTML>
<html>
<head>
<title>Example Application</title>
<link rel="stylesheet" type="text/css" href="lib/extjs-4.1.0/resources/css/ext-all.css"/>
<script type="text/javascript" src="lib/extjs-4.1.1/ext-dev.js"></script>
<script type="text/javascript">
Ext.Loader.setConfig({
enabled: true,
paths: {
'Ext': 'lib/extjs-4.1.1/src',
'Deft': 'lib/deftjs-0.8.0pre/src/js/Deft'
}
});
// TODO: Your application's startup logic.
</script>
</head>
<body>
</body>
</html>
@johnyanarella
Copy link
Author

Correction: .JSB3 rather than .JS3B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment