|
1 | | -<<<<<<< HEAD |
2 | 1 | window.cls || (window.cls = {}); |
3 | 2 | cls.EcmascriptDebugger || (cls.EcmascriptDebugger = {}); |
4 | 3 | cls.EcmascriptDebugger["6.0"] || (cls.EcmascriptDebugger["6.0"] = {}); |
@@ -58,64 +57,3 @@ cls.EcmascriptDebugger["6.0"].InspectionBaseView = function() |
58 | 57 | } |
59 | 58 |
|
60 | 59 | cls.EcmascriptDebugger["6.0"].InspectionBaseView.prototype = ViewBase; |
61 | | -======= |
62 | | -window.cls || (window.cls = {}); |
63 | | -cls.EcmascriptDebugger || (cls.EcmascriptDebugger = {}); |
64 | | -cls.EcmascriptDebugger["6.0"] || (cls.EcmascriptDebugger["6.0"] = {}); |
65 | | - |
66 | | -/** |
67 | | - * @constructor |
68 | | - * @extends ViewBase |
69 | | - */ |
70 | | - |
71 | | -cls.EcmascriptDebugger["6.0"].InspectionBaseView = function() |
72 | | -{ |
73 | | - |
74 | | - this.createView = function(container) |
75 | | - { |
76 | | - var data_model = this._data || window.inspections && window.inspections[this._cur_data]; |
77 | | - if (data_model) |
78 | | - { |
79 | | - this._create_view_bound = this._create_view.bind(this, container, data_model); |
80 | | - data_model.expand(this._create_view_bound); |
81 | | - } |
82 | | - else |
83 | | - { |
84 | | - this._create_view_bound = null; |
85 | | - container.clearAndRender(this._tmpl_no_content()); |
86 | | - } |
87 | | - }; |
88 | | - |
89 | | - this._on_setting_change = function(msg) |
90 | | - { |
91 | | - if (msg.id == 'inspection') |
92 | | - switch (msg.key) |
93 | | - { |
94 | | - case 'show-default-nulls-and-empty-strings': |
95 | | - this.update(); |
96 | | - break; |
97 | | - } |
98 | | - }; |
99 | | - |
100 | | - this._create_view = function(container, data_model) |
101 | | - { |
102 | | - var tmpl = window.templates.inspected_js_object(data_model, false, |
103 | | - null, this._searchterm); |
104 | | - container.clearAndRender(tmpl); |
105 | | - }; |
106 | | - |
107 | | - this._onbeforesearch = function(searchterm) |
108 | | - { |
109 | | - if (this._create_view_bound && this.isvisible()) |
110 | | - { |
111 | | - this._searchterm = searchterm; |
112 | | - this._create_view_bound(); |
113 | | - } |
114 | | - }; |
115 | | - |
116 | | - this._tmpl_no_content = function(){return []}; |
117 | | - |
118 | | -} |
119 | | - |
120 | | -cls.EcmascriptDebugger["6.0"].InspectionBaseView.prototype = ViewBase; |
121 | | ->>>>>>> master |
0 commit comments