Browse Source

corpus removed hardcoded _dpi value to 2 to window.devicePixelRatio

Bachir Soussi Chiadmi 7 năm trước cách đây
mục cha
commit
86dcf68f62

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 9 - 0
sites/all/modules/figli/edlp_corpus/assets/dist/scripts/corpus.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 22 - 0
sites/all/modules/figli/edlp_corpus/assets/dist/scripts/physics.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
sites/all/modules/figli/edlp_corpus/assets/dist/styles/corpus.min.css


+ 1 - 1
sites/all/modules/figli/edlp_corpus/assets/scripts/corpus.js

@@ -97,7 +97,7 @@
       onResizeCanvas();
     };
     function onResizeCanvas() {
-      _dpi = 2;
+      // _dpi = 2;
       _scene_props.width = window.innerWidth;
       _scene_props.height = window.innerHeight;
       _canvas.style.width = _scene_props.width+'px';

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 0
sites/all/modules/figli/edlp_search/assets/dist/scripts/edlp_search.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 0
sites/all/modules/figli/edlp_studio/assets/dist/scripts/edlp_studio.min.js


+ 19 - 1
sites/all/themes/custom/edlptheme/assets/dist/scripts/history.min.js

@@ -1,2 +1,20 @@
+console.log('EDLP THEME HISTORY.js');
+// var edlp is provided by edlp_ajax.module file
+if(edlp.redirect){
+  console.log('history redirect', edlp);
+  console.log('window.location', window.location);
+  // window.localStorage.setItem('edlp_origin_path', edlp.sys_path.replace(/^\//, ''));
+  edlp.sys_path = edlp.sys_path.replace(/^\//, '');
 
-void 0;if(edlp.redirect){void 0;void 0;edlp.sys_path=edlp.sys_path.replace(/^\//,'');edlp.url=window.location.pathname;edlp.hash=window.location.hash;window.localStorage.setItem('edlp_origin',JSON.stringify(edlp));window.location.replace(window.location.origin+'/'+edlp.lang_code);}else{void 0;}
+  // window.localStorage.setItem('edlp_origin_url', window.location.pathname);
+  edlp.url = window.location.pathname;
+
+  // window.localStorage.setItem('edlp_origin_hash', window.location.hash);
+  edlp.hash = window.location.hash;
+
+  window.localStorage.setItem('edlp_origin', JSON.stringify(edlp));
+  // redirect to home
+  window.location.replace(window.location.origin+'/'+edlp.lang_code);
+}else{
+  console.log('history do not redirect');
+}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
sites/all/themes/custom/edlptheme/assets/dist/styles/app.min.css


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác