mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
[flexslider] Update to target @types/jquery v3.
This commit is contained in:
@@ -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');
|
||||
|
||||
Vendored
+2
@@ -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
|
||||
|
||||
@@ -12,11 +12,6 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"paths": {
|
||||
"jquery": [
|
||||
"jquery/v2"
|
||||
]
|
||||
},
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
|
||||
Reference in New Issue
Block a user