Add headers to stopwatch scripts

This commit is contained in:
Ryan Huffman 2017-01-27 15:29:48 -08:00
parent 9df7bf00df
commit 47235d24aa
3 changed files with 30 additions and 0 deletions

View file

@ -1,3 +1,13 @@
//
// spawnStopwatch.js
//
// Created by Ryan Huffman on 1/20/17.
// Copyright 2017 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var positionToSpawn = Vec3.sum(MyAvatar.position, Quat.getFront(MyAvatar.rotation));
var stopwatchID = Entities.addEntity({

View file

@ -1,3 +1,13 @@
//
// stopwatchServer.js
//
// Created by Ryan Huffman on 1/20/17.
// Copyright 2017 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
(function() {
var messageChannel;
this.preload = function(entityID) {

View file

@ -1,3 +1,13 @@
//
// stopwatchServer.js
//
// Created by Ryan Huffman on 1/20/17.
// Copyright 2017 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
(function() {
this.equipped = false;
this.isActive = false;