View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
View Brocfile.js
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp({
outputPaths: {
app: {
js: '/assets/scripts/app.js'
},
View npm_install_jquery_log
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
View scoreManager.as
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
View characterManager.as
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
{
View teleportTrigger.js
#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();
}
View derp.js
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
View derp.js
function()
{
var derp="1";
}