Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Fix #213 (#214)
Browse files Browse the repository at this point in the history
* added Lite Minifier

* fix build errors

* added new minifier to wizard

* fix accidental symbol renaming

* Revert "fix build errors"

This reverts commit 43198d7.

* remove warning suppresing pragma

* Rename minifier level in wizard

(i don't know what else to change)

* changed another model to add new minifier
  • Loading branch information
SCBionicle authored Nov 17, 2020
1 parent 6dd84b6 commit d801884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/MDK/Views/Options/ScriptOptionsDialogModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public ScriptOptionsDialogModel([NotNull] MDKPackage package, [NotNull] MDKProje
{
new KeyValuePair<MinifyLevel, string>(MinifyLevel.None, "None"),
new KeyValuePair<MinifyLevel, string>(MinifyLevel.StripComments, "Strip Comments"),
new KeyValuePair<MinifyLevel, string>(MinifyLevel.Lite, "Lite (No Renaming)"),
new KeyValuePair<MinifyLevel, string>(MinifyLevel.Full, "Full"),
};
ActiveProject = projectProperties ?? throw new ArgumentNullException(nameof(projectProperties));
Expand Down
2 changes: 1 addition & 1 deletion Source/MDK/Views/Wizard/NewScriptWizardDialogModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public NewScriptWizardDialogModel()
{
new KeyValuePair<MinifyLevel, string>(MinifyLevel.None, "None"),
new KeyValuePair<MinifyLevel, string>(MinifyLevel.StripComments, "Strip Comments"),
new KeyValuePair<MinifyLevel, string>(MinifyLevel.Lite, "Lite"),
new KeyValuePair<MinifyLevel, string>(MinifyLevel.Lite, "Lite (No Renaming)"),
new KeyValuePair<MinifyLevel, string>(MinifyLevel.Full, "Full")
};
_selectedMinifier = Minifiers.FirstOrDefault();
Expand Down

0 comments on commit d801884

Please sign in to comment.