i am using require.js for my project and unable to load the "jquery-visible" plugin, i configured the path correctly with jquery.visible.min
require.config({
paths: {
'jquery': "../kendo/js/jquery.min",
'dependency':"../jquery-visible-master/jquery.visible.min"
},
and defining the dependency like this
define(
[
"jquery"
,"dependency"
],
function (
$
,dependency
)
when i use the dependency to call the jquery function(.visible) it is saying .visible() is not a function
$("#bookmark-5").visible() ;
error message in console : 456 Uncaught TypeError: $(...).visible() is not a function