We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all
I'm following this tutorial https://ccoenraets.github.io/cordova-tutorial/hardware-acceleration.html https://github.com/ccoenraets/cordova-tutorial/tree/master/solutions/directory-solutions/part11
and I would like to use ratchet js "slide-in" instead pageslider js. But when I try to use it I've this error
ratchet.js:37 Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': '#employees/1' is not a valid selector.
the example use ratchet css and handlebar, this is the html
<script id="employee-list-tpl" type="text/template"> <ul class="table-view"> {{#each this}} <li class="table-view-cell media"> <a href="#employees/{{ id }}"> <img class="media-object pull-left" src="assets/pics/{{pic}}"> <div class="media-body"> {{firstName}} {{lastName}} <p>{{title}}</p> </div> </a> </li> {{/each}} </ul> </script>
this call another template called "employee-tpl"
this is the list of the js (I replaced pageslider with ratchet.js)
I loved ratchet js and I don't want to use another library :( , thanks :)
The text was updated successfully, but these errors were encountered:
what was that?
Sorry, something went wrong.
No branches or pull requests
Hi all
I'm following this tutorial https://ccoenraets.github.io/cordova-tutorial/hardware-acceleration.html
https://github.com/ccoenraets/cordova-tutorial/tree/master/solutions/directory-solutions/part11
and I would like to use ratchet js "slide-in" instead pageslider js. But when I try to use it I've this error
ratchet.js:37 Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': '#employees/1' is not a valid selector.
the example use ratchet css and handlebar, this is the html
<script id="employee-list-tpl" type="text/template"> <ul class="table-view"> {{#each this}} <li class="table-view-cell media"> <a href="#employees/{{ id }}"> <img class="media-object pull-left" src="assets/pics/{{pic}}"> <div class="media-body"> {{firstName}} {{lastName}} <p>{{title}}</p> </div> </a> </li> {{/each}} </ul> </script>
this call another template called "employee-tpl"
this is the list of the js (I replaced pageslider with ratchet.js)
<script src="cordova.js"></script> <script src="lib/fastclick.js"></script> <script src="lib/handlebars.js"></script> <script src="lib/jquery.js"></script> <script src="lib/router.js"></script> <script src="lib/ratchet.js"></script> <script src="js/services/memory/EmployeeService.js"></script> <script src="js/EmployeeListView.js"></script> <script src="js/HomeView.js"></script> <script src="js/EmployeeView.js"></script> <script src="js/app.js"></script>I loved ratchet js and I don't want to use another library :( , thanks :)
The text was updated successfully, but these errors were encountered: