fixing status page in Microsoft Edge browser

this will fix the problem for displaying status page on Microsoft Edge (maybe older IE's) browsers.
This commit is contained in:
Enrico Meinel 2017-01-18 21:50:54 +01:00
parent 78b2775eec
commit decddf9183
2 changed files with 9 additions and 2 deletions

View File

@ -28,6 +28,12 @@ define Download/almond
MD5SUM:=aa66c0c0cb55a4627bb706df73f3aff5
endef
define Download/EventSource
FILE:=eventsource.js
URL:=https://raw.githubusercontent.com/altima/EventSource/master/eventsource.js
MD5SUM:=9b5c81ca6ba306ac6aa11a61c9ab9891
endef
$(eval $(call Download,rjs))
$(eval $(call Download,Bacon))
$(eval $(call Download,almond))
@ -46,7 +52,7 @@ endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) -t $(PKG_BUILD_DIR) $(DL_DIR)/r.js $(DL_DIR)/Bacon.js $(DL_DIR)/almond.js
$(CP) -t $(PKG_BUILD_DIR) $(DL_DIR)/r.js $(DL_DIR)/Bacon.js $(DL_DIR)/almond.js $(DL_DIR)/eventsource.js
endef
define Build/Configure

View File

@ -1,6 +1,7 @@
({
paths: {
"bacon": "../Bacon"
"bacon": "../Bacon",
"eventsource": "../EventSource"
},
baseUrl: "js/",
name: "../almond",