portfolio/assets/angular/app.js
/* Creates skillsets.objects[]; can be done preemptively
         * Tweak delta and scale as necessary */
Creates skillsets.objects[]; can be done preemptively
Tweak delta and scale as necessary
Creates skillsets . objects [] ; can be done preemptively Tweak delta and scale as necessary
function initSkillsets() {
            if (typeof this !== 'object')
                return console.log('initSkillsets() cannot be called directly.');
            else
                var that = this;
            if (this.objects.length)
                this.objects.length = 0;
            that.dom.children.each(function(i) {
                this.hoverOn = hoverOnSkillset;
                this.hoverOff = hoverOffSkillset;
                that.objects.push({
                    dom: this,
                    pos: {
                        x: null,
                        y: null
                    },
                    offset: 0,
                    delta: i * 360 / that.dom.children.length - 90,
                    deltaEnd: null,
                    scale: 1.0,
                    color: $(this).attr('data-color'),
                    text: $(this).children('.inner:first-child'),
                    progress: 0
                });
            });
        }
function initSkillsets ( ) { if ( typeof this !== 'object' ) return console . log ( 'initSkillsets() cannot be called directly.' ) ; else var that = this ; if ( this . objects . length ) this . objects . length = 0 ; that . dom . children . each ( function ( i ) { this . hoverOn = hoverOnSkillset ; this . hoverOff = hoverOffSkillset ; that . objects . push ( { dom : this , pos : { x : null , y : null } , offset : 0 , delta : i * 360 / that . dom . children . length - 90 , deltaEnd : null , scale : 1.0 , color : $ ( this ) . attr ( 'data-color' ) , text : $ ( this ) . children ( '.inner:first-child' ) , progress : 0 } ) ; } ) ; }
Creates skillsets.objects[]; can be done preemptively
 Tweak delta and scale as necessary
Creates skillsets . objects [] ; can be done preemptively Tweak delta and scale as necessary
// If skillset objects already exist, wipe them out