Gaya / Gaya/queryloader2

Sometimes plugin will not load resources

Open
#123 5 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
JavaScript
Stars
711
Forks
224
PR merge metrics
No merged PRs in 30d

Description

Hi,

I often get the following result when I try to view my webapplication via the "file:///" protocol (windows):
![0percentage](https://cloud.githubusercontent.com/assets/8310677/6318765/495ac17e-baa3-11e4-877e-84e6da7c8840.jpg)
I don't know if it is a problem of the protocol, but however I need to fix this.
I call the plugin like:

``` javascript
(function(global) {
var VRSFramework = function(){

/**
* Inits the component
*/
function init(){

}

// Preload resources and call init function
$(function () {
$("body").queryLoader2({
barColor : "#efefef",
backgroundColor : "#111",
percentage : true,
barHeight : 1,
minimumTime : 200,
fadeOutTime : 500,
onComplete: function(){
init();
}
});
});

return this;
};
var tmpVRSFramework = new VRSFramework();
})(this);
```

I already tried to remove all CSS (background-images also), but that will not solve the problem. What can I do to debug this issue? Or what could be the problem?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.