This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var userChoice = prompt("Do you choose rock, paper or scissors?"); | |
| var computerChoice = Math.random(); | |
| if (computerChoice < 0.34) { | |
| computerChoice = "rock"; | |
| } else if(computerChoice <= 0.67) { | |
| computerChoice = "paper"; | |
| } else { | |
| computerChoice = "scissors"; | |
| } console.log("Computer: " + computerChoice); | |
| function compare(choice1, choice2){ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var FX = { | |
| easing: { | |
| linear: function(progress) { | |
| return progress; | |
| }, | |
| quadratic: function(progress) { | |
| return Math.pow(progress, 2); | |
| }, | |
| swing: function(progress) { | |
| return 0.5 - Math.cos(progress * Math.PI) / 2; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * Task runner | |
| */ | |
| var tRunner = (function() { | |
| 'use strict'; | |
| var _session = 1, | |
| _index = 0, | |
| _isPaused = true, | |
| _backwards = true; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!-- Touch icon for iOS 2.0+ and Android 2.1+ --> | |
| <link rel="apple-touch-icon-precomposed" href="path/to/favicon-152.png"> | |
| <!-- IE 10 Metro tile icon (Metro equivalent of apple-touch-icon) --> | |
| <meta name="msapplication-TileColor" content="#FFFFFF"> | |
| <meta name="msapplication-TileImage" content="/path/to/favicon-144.png"> | |
| <!-- For iPad with high-resolution Retina display running iOS ≥ 7: --> | |
| <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/path/to/favicon-152.png"> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | (function (root, factory) { | |
| if (typeof define === 'function' && define.amd) { | |
| define(factory); | |
| } else if (typeof exports === 'object') { | |
| module.exports = factory; | |
| } else { | |
| root.MYMODULE = factory(); | |
| } | |
| })(this, function () { | |
| // | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /*! ****************************** | |
| Handlebars helpers | |
| *******************************/ | |
| // debug helper | |
| // usage: {{debug}} or {{debug someValue}} | |
| // from: @commondream (http://thinkvitamin.com/code/handlebars-js-part-3-tips-and-tricks/) | |
| Handlebars.registerHelper("debug", function(optionalValue) { | |
| console.log("Current Context"); | |
| console.log("===================="); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var get = async(function *(){ | |
| var left = yield readJSON('left.json') | |
| var right = yield readJSON('right.json') | |
| return {left: left, right: right} | |
| }); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Core.register('module-name1', function(sandbox){/*...*/}); | |
| Core.register('module-name2', function(sandbox){/*...*/}); | |
| Core.register('module-name3', function(sandbox){/*...*/}); | |
| Core.startAll(); | |
| Core.addItem({item:'item number 1', price: 0.5}); | |
| Core.addItem({item:'item number 3', price: 0.8}); | |
| Core.getItemsCount(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var oldMap = { | |
| map : null, | |
| center : {lat:50, lng:20, zoom:3}, | |
| drawn : false, | |
| data : {}, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /*wrapper*/ | |
| define( | |
| /*module ID*/ | |
| 'myModule', | |
| /*dependencies*/ | |
| ['foo','bar','foobar'], | |
| /*definition for module export*/ | |
| function(foo, bar, foobar){ |