소스 검색

[notebook] Fix loading order problems with ko Charts

Enrico Berti 10 년 전
부모
커밋
2cd9e99
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 2 - 2
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1432,14 +1432,14 @@ ${ require.config() }
 
   require([
     "knockout",
-    "notebook/js/notebook.ko",
     "ko.charts",
+    "notebook/js/notebook.ko",
     "knockout-mapping",
     "knockout-sortable",
     "knockout-deferred-updates",
     "ko.editable",
     "ko.hue-bindings"
-  ], function (ko, EditorViewModel) {
+  ], function (ko, charts, EditorViewModel) {
 
       var VIEW_MODEL_OPTIONS = $.extend(${ options_json | n,unicode }, {
       user: '${ user.username }',