blueimp/JavaScript-Templates

jQuery 1.9.0 support?

waynehoover opened this issue · 1 comments

This doesn't seem to work with jQuery 1.9.0

I get errors like this:

Uncaught Error: Syntax error, unrecognized expression: <li class="upload-item" data-datas-index="">
  <a class="close" href="#"><i class="icon-remove"></i></a>
  <p class="file-type bold">mov</p>
  <p class="file-name arial">2011-12-15 21.36.43.mov</p> 
  <p class="file-name arial">4.48 MB</p>
  <div class="progress"><div class="bar progress-bar" style="width: 0%"></div></div>
</li> 

When I switch back to jQuery 1.8.3 it works fine.

The JavaScript Templates function doesn't have any dependency on jQuery or any other library.
Even so I just double checked the demo (which included jQuery for demo purposes) and tested it successfully with jQuery 1.9.0.
So I guess the error you encounter must have another source.