j1-template 2022.5.0.rc3 → 2022.5.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/data/banner.html +2 -2
- data/assets/themes/j1/adapter/js/masterslider.js +22 -5
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/_config.yml +3 -3
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
- data/lib/starter_web/_data/modules/masterslider.yml +0 -4
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7173ef79e84f715e03486838c2244102779d96ee7b1df98a8dbeafc45efc68f
|
4
|
+
data.tar.gz: c2d791c504edc33d015e1e671005999921214d6f7c816dd215591edb44e15c75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0fc8302d1ae79810d901761fedd0a7fb98a2d94c4b10a43243663703228b3c374305ff602d297b8ff0dae2be11db694e6b93e6567cae72c980a291ec2f8c155
|
7
|
+
data.tar.gz: 18ae4526f6d4bc857706e631f7e1901f706d790cded6535cd14ae31ac190fd7d9554834db251317e010fb738ad93d7c6b0c89aa0c71ff700fc0ea61cac042c13
|
data/assets/data/banner.html
CHANGED
@@ -234,8 +234,8 @@ exclude_from_search: true
|
|
234
234
|
<img
|
235
235
|
class="sticker-image"
|
236
236
|
src="/assets/images/sticker/600x600/sticker-new-version.png"
|
237
|
-
alt="Get new version 2022.5.0.
|
238
|
-
title="Get new version 2022.5.0.
|
237
|
+
alt="Get new version 2022.5.0.rc4"
|
238
|
+
title="Get new version 2022.5.0.rc4"
|
239
239
|
style="width: 140px; height: 120px;"
|
240
240
|
>
|
241
241
|
</a>
|
@@ -138,10 +138,10 @@ j1.adapter.masterslider = (function (j1, window) {
|
|
138
138
|
console.debug('module state: ' + _this.getState());
|
139
139
|
|
140
140
|
// load HTML portion for all sliders configured
|
141
|
-
console.debug('
|
141
|
+
console.debug('loading HTML portion for all sliders configured');
|
142
142
|
_this.loadSliderHTML(sliderOptions, sliders);
|
143
143
|
// create an 'MasterSlider' instance for all sliders configured
|
144
|
-
console.debug('create an \'MasterSlider\' instance for all sliders configured');
|
144
|
+
console.debug('create an \'MasterSlider\' instance for all MS sliders configured');
|
145
145
|
_this.createSliderInstances(sliders, msSliderManager);
|
146
146
|
|
147
147
|
// initialize all sliders configured
|
@@ -149,6 +149,7 @@ j1.adapter.masterslider = (function (j1, window) {
|
|
149
149
|
if (_this.getState() == 'data_loaded' && j1.getState() == 'finished') {
|
150
150
|
logger.info('\n' + 'ms module version detected: ' + moduleVersion);
|
151
151
|
logger.info('\n' + 'module is being initialized');
|
152
|
+
console.debug('MS slider module is being initialized');
|
152
153
|
_this.initSliders(sliderOptions, sliders, msSliderManager, saveSliderConfig);
|
153
154
|
clearInterval(dependencies_met_data_loaded);
|
154
155
|
} // END dependencies_met_j1_finished
|
@@ -165,6 +166,7 @@ j1.adapter.masterslider = (function (j1, window) {
|
|
165
166
|
if (sliderManager) document.body.appendChild(msSliderManager);
|
166
167
|
|
167
168
|
logger.info('\n' + 'initializing module finished');
|
169
|
+
console.debug('initializing MS slider module finished');
|
168
170
|
clearInterval(dependencies_met_module_finished);
|
169
171
|
} // END dependencies_met_j1_finished
|
170
172
|
}, 25);
|
@@ -214,16 +216,24 @@ j1.adapter.masterslider = (function (j1, window) {
|
|
214
216
|
createSliderInstances: function (sliders, sliderManager) {
|
215
217
|
var msSliderManager = sliderManager;
|
216
218
|
var numSliders = Object.keys(sliders).length;
|
219
|
+
var msSliderManagerItem;
|
220
|
+
|
221
|
+
// add jQuery ready() function once
|
222
|
+
if (sliderManager) {
|
223
|
+
msSliderManagerItem = '$(function() {' + '\n';
|
224
|
+
msSliderManagerItem += ' console.debug("initializing MS slider manager");' + '\n';
|
225
|
+
msSliderManagerItem += '\n';
|
226
|
+
msSliderManager.innerHTML = msSliderManagerItem;
|
227
|
+
}
|
217
228
|
|
218
229
|
var i=0;
|
219
230
|
Object.keys(sliders).forEach(function(key) {
|
220
|
-
var msSliderManagerItem;
|
221
231
|
i++;
|
222
232
|
console.debug('create slider instance on id: ' + sliders[key].id);
|
223
233
|
|
224
234
|
if (sliderManager) {
|
225
|
-
msSliderManagerItem =
|
226
|
-
msSliderManager.innerHTML +=
|
235
|
+
msSliderManagerItem = ' var masterslider_' + i + ' = new MasterSlider();' + '\n';
|
236
|
+
msSliderManager.innerHTML += msSliderManagerItem;
|
227
237
|
} else {
|
228
238
|
_this["masterslider_" + i] = new MasterSlider();
|
229
239
|
}
|
@@ -392,6 +402,13 @@ j1.adapter.masterslider = (function (j1, window) {
|
|
392
402
|
}
|
393
403
|
});
|
394
404
|
|
405
|
+
// close jQuery ready() function once
|
406
|
+
|
407
|
+
var msSliderManagerItem;
|
408
|
+
msSliderManagerItem = '\n' + ' console.debug("initializing MS slider manager finished");' + '\n';
|
409
|
+
msSliderManagerItem += '});' + '\n';
|
410
|
+
msSliderManager.innerHTML += msSliderManagerItem + '\n';
|
411
|
+
|
395
412
|
_this.setState('sliders_initialized');
|
396
413
|
logger.debug('\n' + 'state: ' + _this.getState());
|
397
414
|
logger.info('\n' + 'initializing sliders finished');
|
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/_config.yml
CHANGED
@@ -55,7 +55,7 @@ environment: development
|
|
55
55
|
# ------------------------------------------------------------------------------
|
56
56
|
# Sets the build version of J1 Template Gem
|
57
57
|
#
|
58
|
-
version: 2022.5.0.
|
58
|
+
version: 2022.5.0.rc4
|
59
59
|
|
60
60
|
# version
|
61
61
|
# ------------------------------------------------------------------------------
|
@@ -435,8 +435,8 @@ sass:
|
|
435
435
|
#
|
436
436
|
webrick:
|
437
437
|
headers:
|
438
|
-
X-
|
439
|
-
X-Builder-Engine
|
438
|
+
X-Builder-Template: J1 Template
|
439
|
+
X-Builder-Engine: Jekyll
|
440
440
|
|
441
441
|
# ------------------------------------------------------------------------------
|
442
442
|
# POSTS Management
|
@@ -113,7 +113,7 @@ settings:
|
|
113
113
|
# id: new-version
|
114
114
|
# image: /assets/images/sticker/600x600/sticker-new-version.png
|
115
115
|
# size: 200
|
116
|
-
# title: Get new version 2022.5.0.
|
116
|
+
# title: Get new version 2022.5.0.rc4
|
117
117
|
# style: "width: 140px; height: 120px;"
|
118
118
|
# href: "https://rubygems.org/gems/j1-template"
|
119
119
|
# target: blank
|
@@ -24,10 +24,6 @@ description:
|
|
24
24
|
#
|
25
25
|
settings:
|
26
26
|
|
27
|
-
module_version: lite # lite | pro
|
28
|
-
save_slider_config: true
|
29
|
-
slider_manager: false
|
30
|
-
|
31
27
|
# ----------------------------------------------------------------------------
|
32
28
|
# Sliders
|
33
29
|
# ----------------------------------------------------------------------------
|