Permalink
Browse files

Merge pull request #859 from isao/hybridapp

resolve loader config for Hybridapp in 0.5.x
  • Loading branch information...
2 parents ab59586 + 5909dc8 commit 21075b3c44d78dc69d3155a63f4ea1a83a29604f @isao isao committed Dec 14, 2012
Showing with 20 additions and 11 deletions.
  1. +20 −11 lib/app/archetypes/app/hybrid/application.json.hb
@@ -1,39 +1,48 @@
[
{
"settings": [ "master" ],
-
"appPort": "{{port}}",
-
"specs": {
"frame": {
"base": "top_frame"
}
},
-
"staticHandling": {
"appName": "yahoo.application.{{name}}",
"prefix": "yahoo.application.{{name}}"
},
-
"builds": {
"hybridapp": {
- "forceRelativePaths": true,
+ "forceRelativePaths": false,
"urls": ["/yahoo.application.{{name}}/index.html"],
"packages": {
"yahoo.libs.yui": "*"
}
}
}
},
-
{
"settings": ["build:debug"],
-
"yui": {
- "dependencyCalculations": "precomputed",
- "base": "/yahoo.libs.yui/",
- "url": "$$yui.base$$yui/yui-debug.js",
- "loader": "loader/loader-debug.js"
+ "config": {
+ "seed": [
+ "/yahoo.libs.yui/yui-base/yui-base-min.js",
+ "/yahoo.libs.yui/loader-base/loader-base-min.js",
+ "loader-yui3-resolved{langPath}",
+ "loader-app",
+ "loader-app-resolved{langPath}"
+ ],
+ "base": "/yahoo.libs.yui/",
+ "combine": false,
+ "root": "",
+ "groups": {
+ "app": {
+ "combine": false,
+ "base": "/",
+ "root": ""
+ }
+ }
+ }
}
}
]

0 comments on commit 21075b3

Please sign in to comment.