Time limit improvements

This commit is contained in:
RainLoop Team 2016-05-22 15:27:50 +03:00
parent d2c16381e2
commit 338f18d2af
3 changed files with 38 additions and 22 deletions

View file

@ -2,12 +2,12 @@
import window from 'window';
import progressJs from 'progressJs';
import rainLoopStorage from 'Storage/RainLoop';
import RainLoopStorage from 'Storage/RainLoop';
let rlAppDataStorage = null;
window.__rlah = () => {
return rainLoopStorage ? rainLoopStorage.getHash() : null;
return RainLoopStorage ? RainLoopStorage.getHash() : null;
};
window.__rlah_data = () => {
@ -15,16 +15,16 @@ window.__rlah_data = () => {
};
window.__rlah_set = () => {
if (rainLoopStorage)
if (RainLoopStorage)
{
rainLoopStorage.setHash();
RainLoopStorage.setHash();
}
};
window.__rlah_clear = () => {
if (rainLoopStorage)
if (RainLoopStorage)
{
rainLoopStorage.clearHash();
RainLoopStorage.clearHash();
}
};