Browse Source

some code cleanup

Shaddock Heath 9 years ago
parent
commit
e5477b4cdf

+ 0 - 1
EditorPluginExample/Resources/EditorData/TSExample.plugin.js

@@ -15,7 +15,6 @@ var CustomEditorBuilder = (function () {
     CustomEditorBuilder.prototype.getEditor = function (resourceFrame, resourcePath, tabContainer) {
     CustomEditorBuilder.prototype.getEditor = function (resourceFrame, resourcePath, tabContainer) {
         var _this = this;
         var _this = this;
         var editorUrl = "atomic://" + ToolCore.toolSystem.project.resourcePath + "EditorData/customEditor.html";
         var editorUrl = "atomic://" + ToolCore.toolSystem.project.resourcePath + "EditorData/customEditor.html";
-        console.log(editorUrl);
         var editor = new Editor.JSResourceEditor(resourcePath, tabContainer, editorUrl);
         var editor = new Editor.JSResourceEditor(resourcePath, tabContainer, editorUrl);
         editor.subscribeToEvent("WebViewLoadEnd", function (data) {
         editor.subscribeToEvent("WebViewLoadEnd", function (data) {
             editor.unsubscribeFromEvent("WebViewLoadEnd");
             editor.unsubscribeFromEvent("WebViewLoadEnd");

+ 0 - 1
EditorPluginExample/Resources/EditorData/TSExample.plugin.ts

@@ -32,7 +32,6 @@ class CustomEditorBuilder implements Editor.Extensions.ResourceEditorBuilder {
 
 
             // point to a custom page
             // point to a custom page
             const editorUrl = "atomic://" + ToolCore.toolSystem.project.resourcePath + "EditorData/customEditor.html";
             const editorUrl = "atomic://" + ToolCore.toolSystem.project.resourcePath + "EditorData/customEditor.html";
-            console.log(editorUrl);
             const editor = new Editor.JSResourceEditor(resourcePath, tabContainer, editorUrl);
             const editor = new Editor.JSResourceEditor(resourcePath, tabContainer, editorUrl);
 
 
             // one time subscriptions waiting for the web view to finish loading.  This event
             // one time subscriptions waiting for the web view to finish loading.  This event

+ 0 - 3
EditorPluginExample/Resources/Scripts/custom.editor.txt

@@ -1,4 +1 @@
 # this is a file that will be loaded into a custom editor
 # this is a file that will be loaded into a custom editor
-this is a change
-
-

+ 0 - 8
EditorPluginExample/UserPrefs.json

@@ -1,8 +0,0 @@
-{
-   "lastBuildPath": "",
-   "snapTransX": 1,
-   "snapTransY": 1,
-   "snapTransZ": 1,
-   "snapRotation": 15,
-   "snapScale": 0.1
-}