Merge pull request #3133 from shubhwebkul/master

remove irrelevant code
This commit is contained in:
Jitendra Singh 2020-06-01 19:27:38 +05:30 committed by GitHub
commit 0af7ec0a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 40 deletions

View File

@ -234,8 +234,6 @@
},
mounted: function () {
// this.open360View();
let currentProductId = '{{ $product->url_key }}';
let existingViewed = window.localStorage.getItem('recentlyViewed');
@ -284,44 +282,6 @@
}
});
},
open360View: function () {
this.slot = false;
setTimeout(() => {
$('.spritespin').spritespin({
source: SpriteSpin.sourceArray('http://shubham.webkul.com/3d-image/sample-{lane}-{frame}.jpg', {
lane: [0,5],
frame: [0,5],
digits: 2
}),
// width and height of the display
width: 400,
height: 225,
// the number of lanes (vertical angles)
lanes: 12,
// the number of frames per lane (per vertical angle)
frames: 24,
// interaction sensitivity (and direction) modifier for horizontal movement
sense: 1,
// interaction sensitivity (and direction) modifier for vertical movement
senseLane: -2,
// the initial lane number
lane: 6,
// the initial frame number (within the lane)
frame: 0,
// disable autostart of the animation
animate: false,
plugins: [
'progress',
'360',
'drag'
]
});
}, 0);
}
}
});