Skip to content

Commit

Permalink
Updating the templates
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Oct 13, 2021
1 parent 0f2261d commit 3e48f6e
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h3 class="subsection-title">Classes</h3>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ <h4><span class="type-signature"></span>osmplayer<span class="type-signature"></

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/global.html#osmplayer
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,7 @@

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/osmplayer.pager.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ <h4 class="name" id="construct"><span class="type-signature"></span>construct<sp

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/osmplayer.playlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ <h4 class="name" id="setQueue"><span class="type-signature"></span>setQueue<span

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/osmplayer.teaser.html
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ <h5>Parameters:</h5>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/prototype..html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ <h5>Returns:</h5>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2014-12-13T14:44:21-06:00 using the <a
on 2014-12-13T14:51:55-06:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
9 changes: 9 additions & 0 deletions templates/simpleblack/js/osmplayer.controller.simpleblack.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@

minplayer.controller.prototype.construct.call(this);
var self = this;

// Don't execute if we want to hide the controller.
if (!this.options.showController) {
this.get('player', function(player) {
player.display.removeClass('with-controller');
});
return;
}

this.get('player', function(player) {
if (self.options.controllerOnly) {
player.display.addClass('controller-only');
Expand Down
4 changes: 3 additions & 1 deletion templates/stretchy/js/osmplayer.controller.stretchy.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@

// Don't execute if we want to hide the controller.
if (!this.options.showController) {
this.display.removeClass('with-controller');
this.get('player', function(player) {
player.display.removeClass('with-controller');
});
return;
}

Expand Down

0 comments on commit 3e48f6e

Please sign in to comment.