Loading ...
Sorry, an error occurred while loading the content.

YUI template...

Expand Messages
  • IceBox
    YUI App framework introduces templates. For instance,
    Message 1 of 1 , Oct 27, 2011
    • 0 Attachment
      YUI App framework introduces templates.

      For instance,

      <script id="basket-template" type="text/x-template">
      <div class="yui3-g" id="bd">
      <div class="yui3-u" id="basket-side">
      {foo} <br />
      {foo}
      </div>
      <div class="yui3-u" id="basket-main">
      {bar} <br />
      {bar}
      </div>
      </div>
      </script>

      JSLint, of course, complains about html inside a script tag.

      Any hint?

      Best,
      Alberto
    Your message has been successfully submitted and would be delivered to recipients shortly.