Sfoglia il codice sorgente

Editor: Added headers.

Mr.doob 10 anni fa
parent
commit
e5fca6f796
38 ha cambiato i file con 155 aggiunte e 7 eliminazioni
  1. 4 0
      editor/js/Config.js
  2. 4 0
      editor/js/Editor.js
  3. 4 0
      editor/js/Loader.js
  4. 4 0
      editor/js/Menubar.Add.js
  5. 4 0
      editor/js/Menubar.Edit.js
  6. 4 0
      editor/js/Menubar.File.js
  7. 5 1
      editor/js/Menubar.Help.js
  8. 5 1
      editor/js/Menubar.Play.js
  9. 4 0
      editor/js/Menubar.Status.js
  10. 5 1
      editor/js/Menubar.View.js
  11. 4 0
      editor/js/Menubar.js
  12. 4 0
      editor/js/Player.js
  13. 4 0
      editor/js/Sidebar.Animation.js
  14. 4 0
      editor/js/Sidebar.Geometry.BoxGeometry.js
  15. 4 0
      editor/js/Sidebar.Geometry.BufferGeometry.js
  16. 4 0
      editor/js/Sidebar.Geometry.CircleGeometry.js
  17. 4 0
      editor/js/Sidebar.Geometry.CylinderGeometry.js
  18. 4 0
      editor/js/Sidebar.Geometry.Geometry.js
  19. 4 0
      editor/js/Sidebar.Geometry.IcosahedronGeometry.js
  20. 4 0
      editor/js/Sidebar.Geometry.Modifiers.js
  21. 4 0
      editor/js/Sidebar.Geometry.PlaneGeometry.js
  22. 4 0
      editor/js/Sidebar.Geometry.SphereGeometry.js
  23. 4 0
      editor/js/Sidebar.Geometry.TorusGeometry.js
  24. 4 0
      editor/js/Sidebar.Geometry.TorusKnotGeometry.js
  25. 4 0
      editor/js/Sidebar.Geometry.js
  26. 4 0
      editor/js/Sidebar.Material.js
  27. 4 0
      editor/js/Sidebar.Object3D.js
  28. 4 0
      editor/js/Sidebar.Renderer.js
  29. 4 0
      editor/js/Sidebar.Scene.js
  30. 4 0
      editor/js/Sidebar.Script.js
  31. 4 0
      editor/js/Sidebar.js
  32. 4 0
      editor/js/Storage.js
  33. 4 0
      editor/js/Toolbar.js
  34. 4 0
      editor/js/Viewport.Info.js
  35. 4 0
      editor/js/Viewport.js
  36. 4 2
      editor/js/libs/ui.editor.js
  37. 4 0
      editor/js/libs/ui.js
  38. 4 2
      editor/js/libs/ui.three.js

+ 4 - 0
editor/js/Config.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Config = function () {
 var Config = function () {
 
 
 	var name = 'threejs-editor';
 	var name = 'threejs-editor';

+ 4 - 0
editor/js/Editor.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Editor = function () {
 var Editor = function () {
 
 
 	var SIGNALS = signals;
 	var SIGNALS = signals;

+ 4 - 0
editor/js/Loader.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Loader = function ( editor ) {
 var Loader = function ( editor ) {
 
 
 	var scope = this;
 	var scope = this;

+ 4 - 0
editor/js/Menubar.Add.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Menubar.Add = function ( editor ) {
 Menubar.Add = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Menubar.Edit.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Menubar.Edit = function ( editor ) {
 Menubar.Edit = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Menubar.File.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Menubar.File = function ( editor ) {
 Menubar.File = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 5 - 1
editor/js/Menubar.Help.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Menubar.Help = function ( editor ) {
 Menubar.Help = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();
@@ -38,4 +42,4 @@ Menubar.Help = function ( editor ) {
 
 
 	return container;
 	return container;
 
 
-};
+};

+ 5 - 1
editor/js/Menubar.Play.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Menubar.Play = function ( editor ) {
 Menubar.Play = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;
@@ -31,4 +35,4 @@ Menubar.Play = function ( editor ) {
 
 
 	return container;
 	return container;
 
 
-};
+};

+ 4 - 0
editor/js/Menubar.Status.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Menubar.Status = function ( editor ) {
 Menubar.Status = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 5 - 1
editor/js/Menubar.View.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Menubar.View = function ( editor ) {
 Menubar.View = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();
@@ -40,4 +44,4 @@ Menubar.View = function ( editor ) {
 
 
 	return container;
 	return container;
 
 
-};
+};

+ 4 - 0
editor/js/Menubar.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Menubar = function ( editor ) {
 var Menubar = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Player.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Player = function ( editor ) {
 var Player = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.Animation.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Animation = function ( editor ) {
 Sidebar.Animation = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.Geometry.BoxGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.BoxGeometry = function ( signals, object ) {
 Sidebar.Geometry.BoxGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.BufferGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.BufferGeometry = function ( signals ) {
 Sidebar.Geometry.BufferGeometry = function ( signals ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.CircleGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.CircleGeometry = function ( signals, object ) {
 Sidebar.Geometry.CircleGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.CylinderGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.CylinderGeometry = function ( signals, object ) {
 Sidebar.Geometry.CylinderGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.Geometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.Geometry = function ( signals ) {
 Sidebar.Geometry.Geometry = function ( signals ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.IcosahedronGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.IcosahedronGeometry = function ( signals, object ) {
 Sidebar.Geometry.IcosahedronGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.Modifiers.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.Modifiers = function ( signals, object ) {
 Sidebar.Geometry.Modifiers = function ( signals, object ) {
 
 
 	var container = new UI.Panel().setPaddingLeft( '90px' );
 	var container = new UI.Panel().setPaddingLeft( '90px' );

+ 4 - 0
editor/js/Sidebar.Geometry.PlaneGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.PlaneGeometry = function ( signals, object ) {
 Sidebar.Geometry.PlaneGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.SphereGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.SphereGeometry = function ( signals, object ) {
 Sidebar.Geometry.SphereGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.TorusGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.TorusGeometry = function ( signals, object ) {
 Sidebar.Geometry.TorusGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.TorusKnotGeometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry.TorusKnotGeometry = function ( signals, object ) {
 Sidebar.Geometry.TorusKnotGeometry = function ( signals, object ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Sidebar.Geometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Geometry = function ( editor ) {
 Sidebar.Geometry = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.Material.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Material = function ( editor ) {
 Sidebar.Material = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.Object3D.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Object3D = function ( editor ) {
 Sidebar.Object3D = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.Renderer.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Renderer = function ( editor ) {
 Sidebar.Renderer = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.Scene.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Scene = function ( editor ) {
 Sidebar.Scene = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.Script.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Sidebar.Script = function ( editor ) {
 Sidebar.Script = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Sidebar.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Sidebar = function ( editor ) {
 var Sidebar = function ( editor ) {
 
 
 	var container = new UI.Panel();
 	var container = new UI.Panel();

+ 4 - 0
editor/js/Storage.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Storage = function () {
 var Storage = function () {
 
 
 	var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
 	var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;

+ 4 - 0
editor/js/Toolbar.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Toolbar = function ( editor ) {
 var Toolbar = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Viewport.Info.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 Viewport.Info = function ( editor ) {
 Viewport.Info = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 0
editor/js/Viewport.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var Viewport = function ( editor ) {
 var Viewport = function ( editor ) {
 
 
 	var signals = editor.signals;
 	var signals = editor.signals;

+ 4 - 2
editor/js/libs/ui.editor.js

@@ -1,4 +1,6 @@
-// CodeEditor
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
 
 
 UI.CodeEditor = function ( mode ) {
 UI.CodeEditor = function ( mode ) {
 
 
@@ -69,4 +71,4 @@ UI.CodeEditor.prototype.onKeyUp = function ( callback ) {
 
 
 	return this;
 	return this;
 
 
-};
+};

+ 4 - 0
editor/js/libs/ui.js

@@ -1,3 +1,7 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
 var UI = {};
 var UI = {};
 
 
 UI.Element = function () {};
 UI.Element = function () {};

+ 4 - 2
editor/js/libs/ui.three.js

@@ -1,4 +1,6 @@
-// Texture
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
 
 
 UI.Texture = function () {
 UI.Texture = function () {
 
 
@@ -132,7 +134,7 @@ UI.Texture.prototype.onChange = function ( callback ) {
 };
 };
 
 
 
 
-// CubeTexture
+//
 
 
 UI.CubeTexture = function () {
 UI.CubeTexture = function () {