Skip to content

Commit

Permalink
Maybe I will switch this, but leaving for now
Browse files Browse the repository at this point in the history
  • Loading branch information
stuyam committed Mar 6, 2016
1 parent df70d86 commit 5aba284
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions examples/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ var block = {
}
}

Pressure.set(document.querySelectorAll('#el1'), {preventDefault: false}, block);
Pressure.set($('#el2'), {only: 'force'}, block);
Pressure.set('#el3', {only: '3d'}, block);
Pressure.set(document.querySelectorAll('#el1'), block, {preventDefault: false});
Pressure.set($('#el2'), block, {only: 'force'});
Pressure.set('#el3', block, {only: '3d'});

$('#el1-jquery').pressure(block);
$('#el2-jquery').pressure({only: 'force', preventDefault: false}, block);
$('#el3-jquery').pressure({only: '3d'}, block);

$('h3').pressure({preventDefault: false},{
start: function(){
console.log('preventDefault text');
}
});
$('#el2-jquery').pressure(block, {only: 'force', preventDefault: false});
$('#el3-jquery').pressure(block, {only: '3d'});

// $('h3').pressure({
// start: function(){
// console.log('preventDefault text');
// }
// }, {preventDefault: false});

0 comments on commit 5aba284

Please sign in to comment.