Skip to content

Commit

Permalink
Updated readme. Updated minified versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisMoore committed Dec 1, 2010
1 parent 38a01a7 commit 9b05e4a
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 35 deletions.
8 changes: 4 additions & 4 deletions README.md
@@ -1,8 +1,8 @@
# jQuery Templates plugin
# jQuery Templates plugin v1.0.0pre.

_Note: this plugin requires jquery version 1.4.2._
jQuery templates contain markup with binding expressions. Templates are applied to data objects or arrays, and rendered into the HTML DOM
_Note: This plugin is currently in beta form and may change significantly before version 1.0 is released. See tagged versions for stable Beta releases. Requires jquery version 1.4.2._

jQuery templates contain markup with binding expressions ('Template tags'). Templates are applied to data objects or arrays, and rendered into the HTML DOM

Documentation for the _jQuery Templates_ plugin can be found on the jQuery documentation site:
<a href="http://api.jquery.com/category/plugins/templates/">http://api.jquery.com/category/plugins/templates</a>
Expand Down
4 changes: 0 additions & 4 deletions demos/movies/PagesCore/movies.html
Expand Up @@ -16,10 +16,6 @@
<link href="../css/movies.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="about">
This is a demo of updates to the jQuery templating feature, proposed by Microsoft.<br/>
The source can be viewed here: <a href="http://github.com/nje/jquery-tmpl/">NJE Templating Branch on GitHub</a>
</div>
<div id="pageBody">
<h1>Netflix: Book a Movie...</h1>

Expand Down
4 changes: 0 additions & 4 deletions demos/movies/PagesTmplPlus/movies1.html
Expand Up @@ -17,10 +17,6 @@
<link href="../css/movies.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="about">
This is a demo of updates to the jQuery templating feature, proposed by Microsoft.<br/>
The source can be viewed here: <a href="http://github.com/nje/jquery-tmpl/">NJE Templating Branch on GitHub</a>
</div>
<div id="pageBody">
<h1>Netflix: Book a Movie...</h1>

Expand Down
4 changes: 0 additions & 4 deletions demos/movies/PagesTmplPlus/movies2.html
Expand Up @@ -16,10 +16,6 @@
<link href="../css/movies.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="about">
This is a demo of updates to the jQuery templating feature, proposed by Microsoft.<br/>
The source can be viewed here: <a href="http://github.com/nje/jquery-tmpl/">NJE Templating Branch on GitHub</a>
</div>
<div id="pageBody">
<h1>Netflix: Book a Movie...</h1>

Expand Down
4 changes: 0 additions & 4 deletions demos/movies/PagesTmplPlus/movies3.html
Expand Up @@ -16,10 +16,6 @@
<link href="../css/movies.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="about">
This is a demo of updates to the jQuery templating feature, proposed by Microsoft.<br/>
The source can be viewed here: <a href="http://github.com/nje/jquery-tmpl/">NJE Templating Branch on GitHub</a>
</div>
<div id="pageBody">
<h1>Netflix: Book a Movie...</h1>

Expand Down
10 changes: 0 additions & 10 deletions demos/movies/css/movies.css
Expand Up @@ -5,16 +5,6 @@
font-size: 12px;
}

#about
{
text-align:center;
margin: auto;
margin-bottom: 5px;
background-color: #F9F5FA;
padding: 3px;
width: 50%;
}

#pageBody
{
display: block;
Expand Down
7 changes: 5 additions & 2 deletions jquery.tmpl.js
@@ -1,5 +1,5 @@
/*!
* jQuery Templates Plugin v1.0pre
* jQuery Templates Plugin 1.0.0pre
* http://github.com/jquery/jquery-tmpl
* Requires jQuery 1.4.2
*
Expand Down Expand Up @@ -183,7 +183,10 @@
}
if ( tmpl.nodeType ) {
// If this is a template block, use cached copy, or generate tmpl function and cache.
tmpl = jQuery.data( tmpl, "tmpl" ) || jQuery.data( tmpl, "tmpl", buildTmplFn( tmpl.innerHTML ));
tmpl = jQuery.data( tmpl, "tmpl" ) || jQuery.data( tmpl, "tmpl", buildTmplFn( tmpl.innerHTML ));
// Issue: In IE, if the container element is not a script block, the innerHTML will remove quotes from attribute values whenever the value does not include white space.
// This means that foo="${x}" will not work if the value of x includes white space: foo="${x}" -> foo=value of x.
// To correct this, include space in tag: foo="${ x }" -> foo="value of x"
}
return typeof name === "string" ? (jQuery.template[name] = tmpl) : tmpl;
}
Expand Down
11 changes: 10 additions & 1 deletion jquery.tmpl.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jquery.tmplPlus.js
@@ -1,5 +1,5 @@
/*!
* tmplPlus.js: for jQuery Templates Plugin v1.0pre
* tmplPlus.js: for jQuery Templates Plugin 1.0.0pre
* Additional templating features or support for more advanced/less common scenarios.
* Requires jquery.tmpl.js
* http://github.com/jquery/jquery-tmpl
Expand Down
11 changes: 11 additions & 0 deletions jquery.tmplPlus.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion jquery.tmplplus.min.js

This file was deleted.

0 comments on commit 9b05e4a

Please sign in to comment.