Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: BorisMoore/jquery-tmpl
base: master
...
head fork: jamesdaniels/jquery-tmpl
compare: master
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.tmpl.js
View
4 jquery.tmpl.js
@@ -119,8 +119,8 @@
var def = tmpl._default;
return "');" + tmpl[slash ? "suffix" : "prefix"]
- .split("$1").join(args || def[0])
- .split("$2").join(fnargs || def[1]) + "_.push('";
+ .split("$1").join(args || def && def[0])
+ .split("$2").join(fnargs || def && def[1]) + "_.push('";
})
+ "');}return $(_.join('')).get();");

No commit comments for this range

Something went wrong with that request. Please try again.