Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
okappes committed Feb 17, 2014
2 parents c2e78e7 + 3d8257f commit 227c5d0
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 2 deletions.
Binary file modified guides/airportmap-guide.zip
Binary file not shown.
Binary file modified guides/all-guides.zip
Binary file not shown.
Binary file modified guides/drench-guide.zip
Binary file not shown.
Binary file modified guides/hello-guide.zip
Binary file not shown.
Binary file modified guides/msgconsole-guide.zip
Binary file not shown.
Binary file modified guides/spreadsheet-guide.zip
Binary file not shown.
Binary file modified guides/todo-guide.zip
Binary file not shown.
Binary file modified guides/treeview-guide.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{@html:Template {
id: "viewMainTpl",
type:"span",
classpath: "samples.widgets.widgetLibs.html.template.SimpleChildSubTemplate",
classpath: "samples.widgets.widgetlibs.html.template.SimpleChildSubTemplate",
data:data['childTemplateData'],
attributes:{
classList:["c1","c2"],
Expand All @@ -58,4 +58,4 @@

{/macro}

{/Template}
{/Template}
5 changes: 5 additions & 0 deletions snippets/templates/cssTemplates/CSSWithUrlPrefixed.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
////#imgUrlMapping
aria.core.AppEnvironment.setEnvironment({
"imgUrlMapping" : myUrlMappingMethod
});
////#imgUrlMapping
19 changes: 19 additions & 0 deletions snippets/templates/cssTemplates/PrefixedCSSTemplate.tpl.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{CSSTemplate {
$classpath : "snippets.templates.cssTemplates.PrefixedCSSTemplate"
}}

{macro main()}

////#first
.myimage {
background: url(images/myImage.png);
}
////#first
////#second
.myimage {
background: url([prefix]/images/myImage.png);
}
////#second
{/macro}

{/CSSTemplate}

0 comments on commit 227c5d0

Please sign in to comment.