Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Demos: Replaced pageinit by pagecreate
Browse files Browse the repository at this point in the history
Fixes gh-6954
  • Loading branch information
jaspermdegroot committed Jan 21, 2014
1 parent 18a3cd6 commit cb6a2c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demos/listview-autocomplete-remote/index.php
Expand Up @@ -12,7 +12,7 @@
<script src="../_assets/js/"></script>
<script src="../../js/"></script>
<script>
$( document ).on( "pageinit", "#myPage", function() {
$( document ).on( "pagecreate", "#myPage", function() {
$( "#autocomplete" ).on( "filterablebeforefilter", function ( e, data ) {
var $ul = $( this ),
$input = $( data.input ),
Expand Down
2 changes: 1 addition & 1 deletion demos/map-geolocation/index.php
Expand Up @@ -21,7 +21,7 @@
* Geolocation documentation: http://dev.w3.org/geo/api/spec-source.html
*/

$( document ).on( "pageinit", "#map-page", function() {
$( document ).on( "pagecreate", "#map-page", function() {
var defaultLatLng = new google.maps.LatLng(34.0983425, -118.3267434); // Default to Hollywood, CA when no geolocation support

if ( navigator.geolocation ) {
Expand Down
2 changes: 1 addition & 1 deletion demos/pages/samepagetransition.html
Expand Up @@ -53,7 +53,7 @@ <h1>same page transitions</h1>
</div><!-- /footer 1 -->

<script>
$('#page1').on('pageinit', function() {
$('#page1').on('pagecreate', function() {

$('a').bind('click', function(e) {
var trans = $(this).text() || 'none',
Expand Down

0 comments on commit cb6a2c1

Please sign in to comment.