[flexslider] Update to target @types/jquery v3.

This commit is contained in:
Leonard Thieu
2017-06-23 21:42:58 -04:00
parent 6027c82a7d
commit 0c9938daee
3 changed files with 8 additions and 17 deletions
+6 -12
View File
@@ -1,21 +1,17 @@
import $ = require('jquery');
// Can also be used with $(document).ready()
$(window).load(function() {
$(window).ready(function() {
$('.flexslider').flexslider({
animation: "slide"
});
});
// Can also be used with $(document).ready()
$(window).load(function() {
$(window).ready(function() {
$('.flexslider').flexslider({
animation: "slide",
controlNav: "thumbnails"
});
});
$(window).load(function() {
$(window).ready(function() {
// The slider being synced must be initialized first
$('#carousel').flexslider({
animation: "slide",
@@ -36,7 +32,7 @@ $(window).load(function() {
});
});
$(window).load(function() {
$(window).ready(function() {
$('.flexslider').flexslider({
animation: "slide",
animationLoop: false,
@@ -45,8 +41,7 @@ $(window).load(function() {
});
});
// Can also be used with $(document).ready()
$(window).load(function() {
$(window).ready(function() {
$('.flexslider').flexslider({
animation: "slide",
animationLoop: false,
@@ -57,8 +52,7 @@ $(window).load(function() {
});
});
// Can also be used with $(document).ready()
$(window).load(function() {
$(window).ready(function() {
// Vimeo API nonsense
var player = document.getElementById('player_1');
+2
View File
@@ -4,6 +4,8 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery" />
interface SliderObject { //Object: The slider element itself
container: Object; //Object: The ul.slides within the slider
slides: Object; //Object: The slides of the slider
-5
View File
@@ -12,11 +12,6 @@
"typeRoots": [
"../"
],
"paths": {
"jquery": [
"jquery/v2"
]
},
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true