Procházet zdrojové kódy

Update all files to workaround for tinyify bug

Lee Morgan před 6 roky
rodič
revize
2a3ac43458

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 3116
views/dashboardPage/bundle.js


+ 4 - 2
views/dashboardPage/js/addIngredients.js

@@ -1,4 +1,4 @@
-module.exports = {
+let addIngredients = {
     isPopulated: false,
     fakeMerchant: {},
     chosenIngredients: [],
@@ -219,4 +219,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     }
-}
+}
+
+module.exports = addIngredients;

+ 4 - 2
views/dashboardPage/js/home.js

@@ -1,4 +1,4 @@
-module.exports = {
+let home = {
     isPopulated: false,
     graph: {},
 
@@ -214,4 +214,6 @@ module.exports = {
                 });
         }
     }
-}
+}
+
+module.exports = home;

+ 4 - 2
views/dashboardPage/js/ingredientDetails.js

@@ -1,4 +1,4 @@
-module.exports = {
+let ingredientDetails = {
     ingredient: {},
     dailyUse: 0,
 
@@ -203,4 +203,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     }
-}
+}
+
+module.exports = ingredientDetails;

+ 4 - 2
views/dashboardPage/js/ingredients.js

@@ -1,4 +1,4 @@
-module.exports = {
+let ingredients = {
     isPopulated: false,
     ingredients: [],
 
@@ -131,4 +131,6 @@ module.exports = {
 
         this.populateByProperty("category");
     }
-}
+}
+
+module.exports = ingredients;

+ 4 - 2
views/dashboardPage/js/newIngredient.js

@@ -1,4 +1,4 @@
-module.exports = {
+let newIngredient = {
     display: function(Ingredient){
         document.getElementById("newIngName").value = "";
         document.getElementById("newIngCategory").value = "";
@@ -60,4 +60,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     }
-}
+}
+
+module.exports = newIngredient;

+ 4 - 2
views/dashboardPage/js/newOrder.js

@@ -1,4 +1,4 @@
-module.exports = {
+let newOrder = {
     isPopulated: false,
     unused: [],
 
@@ -167,4 +167,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     },
-}
+}
+
+module.exports = newOrder;

+ 4 - 2
views/dashboardPage/js/newRecipe.js

@@ -1,4 +1,4 @@
-module.exports = {
+let newRecipe = {
     display: function(Recipe){
         let ingredientsSelect = document.querySelector("#recipeInputIngredients select");
         let categories = merchant.categorizeIngredients();
@@ -107,4 +107,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     },
-}
+}
+
+module.exports = newRecipe;

+ 4 - 2
views/dashboardPage/js/newTransaction.js

@@ -1,4 +1,4 @@
-module.exports = {
+let newTransaction = {
     display: function(Transaction){
         let recipeList = document.getElementById("newTransactionRecipes");
         let template = document.getElementById("createTransaction").content.children[0];
@@ -79,4 +79,6 @@ module.exports = {
                 });
         }
     }
-}
+}
+
+module.exports = newTransaction;

+ 4 - 2
views/dashboardPage/js/orderDetails.js

@@ -1,4 +1,4 @@
-module.exports = {
+let orderDetails = {
     display: function(order){
         document.getElementById("removeOrderBtn").onclick = ()=>{this.remove(order)};
 
@@ -58,4 +58,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     }
-}
+}
+
+module.exports = orderDetails;

+ 4 - 4
views/dashboardPage/js/orders.js

@@ -1,6 +1,4 @@
-const Order = require("./Order");
-
-module.exports = {
+let orders = {
     isFetched: false,
 
     display: async function(Order){
@@ -187,4 +185,6 @@ module.exports = {
             polyline.setAttribute("points", "6 9 12 15 18 9");
         }
     }
-}
+}
+
+module.exports = orders;

+ 4 - 2
views/dashboardPage/js/recipeBook.js

@@ -1,4 +1,4 @@
-module.exports = {
+let recipeBook = {
     isPopulated: false,
     recipeDivList: [],
 
@@ -115,4 +115,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     }
-}
+}
+
+module.exports = recipeBook;

+ 4 - 2
views/dashboardPage/js/recipeDetails.js

@@ -1,4 +1,4 @@
-module.exports = {
+let recipeDetails = {
     recipe: {},
 
     display: function(recipe){
@@ -170,4 +170,6 @@ module.exports = {
             }
         }
     }
-}
+}
+
+module.exports = recipeDetails;

+ 4 - 2
views/dashboardPage/js/transactionDetails.js

@@ -1,4 +1,4 @@
-module.exports = {
+let transactionDetails = {
     transaction: {},
 
     display: function(transaction){
@@ -64,4 +64,6 @@ module.exports = {
                 loader.style.display = "none";
             });
     },
-}
+}
+
+module.exports = transactionDetails;

+ 5 - 3
views/dashboardPage/js/transactions.js

@@ -1,5 +1,5 @@
-module.exports = {
-    isPopulated: false, 
+let transactions = {
+    isPopulated: false,
 
     display: function(Transaction){
         if(!this.isPopulated){
@@ -164,4 +164,6 @@ module.exports = {
             polyline.setAttribute("points", "6 9 12 15 18 9");
         }
     }
-}
+}
+
+module.exports = transactions;

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů