Skip to content

Commit

Permalink
move assets to template && add scroll for global headers block
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry-Pie committed Aug 19, 2017
2 parents 2647d5e + 342a031 commit 0d17ec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
@@ -1,4 +1,7 @@
# ApiDocs Generator
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Cherry-Pie/ApiDocs/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Cherry-Pie/ApiDocs/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/Cherry-Pie/ApiDocs/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Cherry-Pie/ApiDocs/build-status/master)


L5 API Documentation generator based upon DocBlock comments.

Expand Down
4 changes: 2 additions & 2 deletions resources/views/assets/js/tendina.blade.php
@@ -1,7 +1,7 @@
<sctipt>
<script>
/*!
Tendina jQuery plugin v0.11.1
Copyright (c) 2015 Ivan Prignano
Released under the MIT License
*/(function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=[].slice;!function(c){var d;return d=function(){function b(b,d){this._eventHandler=a(this._eventHandler,this),this.options=c.extend({},this.defaults,d),this.$el=c(b),this.elSelector=this._getSelector(this.$el),this.$el.addClass("tendina"),this.linkSelector=""+this.elSelector+" a",this.$listElements=c(this.linkSelector).parent("li"),this._hideSubmenus(),this.mouseEvent=this.options.onHover===!0?"mouseenter.tendina":"click.tendina",this._bindEvents(),null!==this.options.activeMenu&&this._openActiveMenu(this.options.activeMenu)}return b.prototype.defaults={animate:!0,speed:500,onHover:!1,hoverDelay:200,activeMenu:null},b.prototype._bindEvents=function(){return c(document).on(this.mouseEvent,this.linkSelector,this._eventHandler)},b.prototype._unbindEvents=function(){return c(document).off(this.mouseEvent)},b.prototype._getSelector=function(a){var b,d,e;return d=null!=(e=c(a).attr("class"))?e.split(" ")[0]:void 0,b=c(a).attr("id"),void 0!==b?"#"+b:"."+d},b.prototype._isFirstLevel=function(a){return c(a).parent().parent().hasClass("tendina")?!0:void 0},b.prototype._eventHandler=function(a){var b;return b=a.currentTarget,this._hasChildren(b)&&this._IsChildrenHidden(b)?(a.preventDefault(),this.options.onHover?setTimeout(function(a){return function(){return c(b).is(":hover")?a._openSubmenu(b):void 0}}(this),this.options.hoverDelay):this._openSubmenu(b)):this._isCurrentlyOpen(b)&&this._hasChildren(b)&&(a.preventDefault(),!this.options.onHover)?this._closeSubmenu(b):void 0},b.prototype._openSubmenu=function(a){var b,d;return d=c(a).next("ul"),b=this.$el.find("> .selected ul").not(d).not(d.parents("ul")),c(a).parent("li").addClass("selected"),this._close(b),this.$el.find(".selected").not(d.parents("li")).removeClass("selected"),this._open(d),this.options.openCallback?this.options.openCallback(c(a).parent()):void 0},b.prototype._closeSubmenu=function(a){var b,d;return d=c(a).next("ul"),b=d.find("li.selected"),c(a).parent().removeClass("selected"),this._close(d),b.removeClass("selected"),this._close(b.find("ul")),this.options.closeCallback?this.options.closeCallback(c(a).parent()):void 0},b.prototype._open=function(a){return this.options.animate?a.stop(!0,!0).slideDown(this.options.speed):a.show()},b.prototype._close=function(a){return this.options.animate?a.stop(!0,!0).slideUp(this.options.speed):a.hide()},b.prototype._hasChildren=function(a){return c(a).next("ul").length>0},b.prototype._IsChildrenHidden=function(a){return c(a).next("ul").is(":hidden")},b.prototype._isCurrentlyOpen=function(a){return c(a).parent().hasClass("selected")},b.prototype._hideSubmenus=function(){return this.$el.find("ul").hide()},b.prototype._showSubmenus=function(){return this.$el.find("ul").show(),this.$el.find("li").addClass("selected")},b.prototype._openActiveMenu=function(a){var b,c;return b=a instanceof jQuery?a:this.$el.find(a),c=b.closest("ul").parents("li").find("> a"),this._hasChildren(c)&&this._IsChildrenHidden(c)?c.next("ul").show():b.next("ul").show(),b.parent().addClass("selected"),c.parent().addClass("selected")},b.prototype.destroy=function(){return this.$el.removeData("tendina"),this._unbindEvents(),this._showSubmenus(),this.$el.removeClass("tendina"),this.$el.find(".selected").removeClass("selected")},b.prototype.hideAll=function(){return this._hideSubmenus()},b.prototype.showAll=function(){return this._showSubmenus()},b}(),c.fn.extend({tendina:function(){var a,e;return e=arguments[0],a=2<=arguments.length?b.call(arguments,1):[],this.each(function(){var b,f;return b=c(this),f=b.data("tendina"),f||b.data("tendina",f=new d(this,e)),"string"==typeof e?f[e].apply(f,a):void 0})}})}(window.jQuery,window)}).call(this);
</sctipt>
</script>

0 comments on commit 0d17ec2

Please sign in to comment.