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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle' | |
| }); |
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
| /* global require, module */ | |
| var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
| var app = new EmberApp({ | |
| outputPaths: { | |
| app: { | |
| js: '/assets/scripts/app.js' | |
| }, |
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
| here is the log from the `npm install jquery` | |
| npm http GET https://registry.npmjs.org/jquery | |
| npm http 304 https://registry.npmjs.org/jquery | |
| npm http GET https://registry.npmjs.org/jsdom | |
| npm http GET https://registry.npmjs.org/htmlparser/1.7.6 | |
| npm http GET https://registry.npmjs.org/xmlhttprequest | |
| npm http GET https://registry.npmjs.org/location/0.0.1 | |
| npm http GET https://registry.npmjs.org/navigator |
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
| package code { | |
| import flash.events.Event; | |
| import flash.net.SharedObject; | |
| import flash.display.Sprite; | |
| public class scoreManager extends Sprite{ | |
| var gameScore:Number=0; | |
| var highScore:Number; | |
| var pointsPerFrame:Number=Math.floor(100/24);//points per second / frames per second |
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
| package code | |
| { | |
| import flash.display.MovieClip; | |
| import flash.media.*; | |
| import flash.system.Security; | |
| import flash.events.*; | |
| import flash.utils.Timer; | |
| public class characterManager extends MovieClip | |
| { |
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
| #pragma strict | |
| function Start () {} | |
| function Update () {} | |
| function OnTriggerEnter (myTrigger : Collider) { | |
| //when player walks into the trigger | |
| if(myTrigger.gameObject.name == "singleTest_Camera"){ | |
| Debug.Log("collision start"); | |
| teleportCamera(); | |
| } |
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 loadScript() { | |
| var script = document.createElement("script"); | |
| script.type = "text/javascript"; | |
| script.src = "http://maps.googleapis.com/maps/api/js?sensor=false&callback=initialize"; | |
| document.body.appendChild(script); | |
| } | |
| function initialize() { | |
| //$('#startScreen > div').toggle(); | |
| $('#mainScreen > div').toggle();//start off |
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() | |
| { | |
| var derp="1"; | |
| } |