From 2d512f71c4fb7ffa54899790168f02f3c434e11a Mon Sep 17 00:00:00 2001 From: l3limp Date: Tue, 6 Aug 2024 13:21:31 +0530 Subject: [PATCH] added require.js and search item by name --- directives/categoriesColumn.htm | 25 +- directives/homeNavbar.htm | 35 +- index.htm | 17 +- ng/app.js | 4 +- ng/controllers/bodyController.js | 18 +- ng/controllers/buyNowModalController.js | 72 ++--- .../buyNowModalInstanceController.js | 20 ++ ng/controllers/homeController.js | 303 ++++++++++-------- ng/controllers/itemDetailsController.js | 117 ++++--- ng/directives.js | 188 +++++------ ng/main.js | 45 +++ ng/routes.js | 9 +- ng/services.js | 224 ++++++------- pages/home.htm | 9 +- styles.css | 29 +- 15 files changed, 632 insertions(+), 483 deletions(-) create mode 100644 ng/controllers/buyNowModalInstanceController.js create mode 100644 ng/main.js diff --git a/directives/categoriesColumn.htm b/directives/categoriesColumn.htm index e977174..fc95263 100644 --- a/directives/categoriesColumn.htm +++ b/directives/categoriesColumn.htm @@ -1,13 +1,14 @@ +
+

Categories

- \ No newline at end of file + +
diff --git a/directives/homeNavbar.htm b/directives/homeNavbar.htm index 574dc01..62beeff 100644 --- a/directives/homeNavbar.htm +++ b/directives/homeNavbar.htm @@ -1,7 +1,32 @@
-
- -