We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No matter what I do pager is always empty (even though I can see that pager.min,js is grabbed from the server):
equire.config({ paths: { "jquery": "lib/jquery/jquery-2.2.0.min", "pagerjs": "lib/pagerjs/pager", "knockout": "lib/knockout/knockout-3.4.0", }, shim : { "pagerjs": ["jquery", "knockout"] },
waitSeconds: 30
});
require([ "pagerjs" ], function(pg){
// Here pg is awlays undefined
The text was updated successfully, but these errors were encountered:
Have you looked at how it's configured in the pagerjs repo? Looks like you don't need to shim pager.
Sorry, something went wrong.
No branches or pull requests
No matter what I do pager is always empty (even though I can see that pager.min,js is grabbed from the server):
equire.config({
paths: {
"jquery": "lib/jquery/jquery-2.2.0.min",
"pagerjs": "lib/pagerjs/pager",
"knockout": "lib/knockout/knockout-3.4.0",
},
shim : {
"pagerjs": ["jquery", "knockout"]
},
});
require([
"pagerjs"
], function(pg){
// Here pg is awlays undefined
});
The text was updated successfully, but these errors were encountered: