Skip to content

Commit b808aa7

Browse files
committed
.
1 parent 02521be commit b808aa7

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

main/mountain/mountainDirective.js

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
angular.module( 'myApp' ).directive( 'mountainDirective', function (mountainSvc) {
1+
angular.module( 'myApp' ).directive( 'mountainDirective', function ( mountainSvc ) {
22
var dirDefinition = {
33
restrict: 'E',
44
templateUrl: './html/mountain/mountainTemplate.html',
@@ -387,23 +387,24 @@ angular.module( 'myApp' ).directive( 'mountainDirective', function (mountainSvc)
387387

388388
// spawn the actual climber pieces that make up one climber
389389
node.appendChild( clmbr1 );
390-
/*
391-
progress.lessons = [ {lesson obj1: name, score}, ]
392-
393-
394390
}
395391

396-
scope.advanceClimber = function(){
397-
398-
// move the climber based on progress
399-
const newZ = ( 220 + ( Math.floor( Math.floor( 10 - ( 100 * y ) ) / 10 ) ) );
400-
var climberZ = ( newZ + 20 );
401-
var clmbr1 = document.createElement( 'i' );
402-
clmbr1.style.width = '50px';
403-
clmbr1.style.height = '50px';
404-
node.appendChild( clmbr1 );
405-
}
406-
*/
392+
/*
393+
progress.lessons = [ {lesson obj1: name, score}, ]
394+
*/
395+
396+
/*
397+
scope.advanceClimber = function(){
398+
399+
// move the climber based on progress
400+
const newZ = ( 220 + ( Math.floor( Math.floor( 10 - ( 100 * y ) ) / 10 ) ) );
401+
var climberZ = ( newZ + 20 );
402+
var clmbr1 = document.createElement( 'i' );
403+
clmbr1.style.width = '50px';
404+
clmbr1.style.height = '50px';
405+
node.appendChild( clmbr1 );
406+
}
407+
*/
407408

408409
//////////////////////////////////
409410
// <------ Mountain ------> //

0 commit comments

Comments
 (0)