merged from master (use strict)

This commit is contained in:
logsol 2014-12-22 02:00:40 +01:00
commit 1f8f0ef6e1
76 changed files with 157 additions and 60 deletions

View file

@ -4,6 +4,8 @@ define([
function (Abstract) {
"use strict";
function Layer(name, parallaxSpeed) {
this.name = name;
this.parallaxSpeed = parallaxSpeed;

View file

@ -7,6 +7,8 @@ define([
],
function (Abstract, DomController, Settings, Exception, Nc) {
"use strict";
function AbstractView () {
this.me = null;

View file

@ -7,6 +7,8 @@ define([
function (Settings, Nc, Stats, Screenfull) {
"use strict";
function DomController() {
this.canvas = document.getElementById("canvas");
this.debugCanvas = null;

View file

@ -5,6 +5,8 @@ define([
],
function (Nc, Exception, Layer) {
"use strict";
function LayerManager(container, me) {
this.layers = [];

View file

@ -7,6 +7,8 @@ define([
function (Settings, Nc, Stats, Screenfull) {
"use strict";
function Mesh() {
}

View file

@ -4,6 +4,8 @@ define([
function (PIXI) {
"use strict";
var Parent = PIXI.AbstractFilter;
function ColorRangeReplaceFilter() {

View file

@ -6,6 +6,8 @@ define([
],
function (PIXI, Nc, Settings, ColorConverter) {
"use strict";
function GameStats(container) {

View file

@ -7,6 +7,8 @@ define([
function (Parent, PIXI, ColorRangeReplaceFilter, Settings) {
"use strict";
var AVAILABLE_MESH_FILTERS = {
"blur": PIXI.BlurFilter,
"desaturate": PIXI.GrayFilter,

View file

@ -6,6 +6,8 @@ define([
],
function (Parent, PIXI, Nc, Settings) {
"use strict";
function Ghost() {
Parent.call(this, "ghost", 0);

View file

@ -13,6 +13,8 @@ define([
function (Parent, DomController, PIXI, Settings, Nc, Exception, GameStats, LayerManager, Ghost, Swiper) {
"use strict";
function PixiView () {
Parent.call(this);

View file

@ -6,6 +6,8 @@ define([
],
function (Parent, DomController, Three, Settings) {
"use strict";
function ThreeView () {
Parent.call(this);

View file

@ -8,6 +8,8 @@ define([
],
function (Settings, Exception, AbstractView, PixiView, Nc) {
"use strict";
var ViewManager = {};