parent
e82005c517
commit
0e28cfadb2
2 changed files with 1 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# 0.6.5.0
|
# 0.6.5.0
|
||||||
|
|
||||||
## Refactor
|
## Refactor
|
||||||
|
* Remove unused setPreload function [#7354](https://github.com/diaspora/diaspora/pull/7354)
|
||||||
|
|
||||||
## Bug fixes
|
## Bug fixes
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,11 +60,6 @@ var app = {
|
||||||
return !!(window.gon.preloads && window.gon.preloads[prop]); //returning boolean variable so that parsePreloads, which cleans up properly is used instead
|
return !!(window.gon.preloads && window.gon.preloads[prop]); //returning boolean variable so that parsePreloads, which cleans up properly is used instead
|
||||||
},
|
},
|
||||||
|
|
||||||
setPreload : function(prop, val) {
|
|
||||||
window.gon.preloads = window.gon.preloads || {};
|
|
||||||
window.gon.preloads[prop] = val;
|
|
||||||
},
|
|
||||||
|
|
||||||
parsePreload : function(prop) {
|
parsePreload : function(prop) {
|
||||||
if(!app.hasPreload(prop)) { return; }
|
if(!app.hasPreload(prop)) { return; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue