From a800de73154fe7bcaf21aae4a0b1827c90ccb03c Mon Sep 17 00:00:00 2001
From: Alexandre Bourlier <alexandre@happy-dev.fr>
Date: Thu, 21 Jun 2018 10:53:25 +0200
Subject: [PATCH] dependencies : updated dependencies from ldp to sib

---
 .gitmodules                    | 9 ++++++---
 dist/lib/ldp-display           | 1 -
 dist/lib/sib-core              | 1 +
 dist/lib/sib-router            | 1 +
 src/html/dependencies-dev.php  | 4 ++--
 src/html/dependencies-prod.php | 4 ++--
 6 files changed, 12 insertions(+), 8 deletions(-)
 delete mode 160000 dist/lib/ldp-display
 create mode 160000 dist/lib/sib-core
 create mode 160000 dist/lib/sib-router

diff --git a/.gitmodules b/.gitmodules
index 5ac647fa..07bc4621 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,9 +1,12 @@
-[submodule "dist/lib/ldp-display"]
-	path = dist/lib/ldp-display
-	url = git@git.happy-dev.fr:happy-dev/ldp-display.git
 [submodule "dist/lib/webcomponentsjs"]
 	path = dist/lib/webcomponentsjs
 	url = https://github.com/webcomponents/webcomponentsjs
 [submodule "dist/lib/xmpp-chat-component"]
 	path = dist/lib/xmpp-chat-component
 	url = git@git.happy-dev.fr:happy-dev/xmpp-chat-component.git
+[submodule "dist/lib/sib-core"]
+	path = dist/lib/sib-core
+	url = git@git.happy-dev.fr:startinblox/sib-core.git
+[submodule "dist/lib/sib-router"]
+	path = dist/lib/sib-router
+	url = git@git.happy-dev.fr:startinblox/sib-router.git
diff --git a/dist/lib/ldp-display b/dist/lib/ldp-display
deleted file mode 160000
index cbba4db4..00000000
--- a/dist/lib/ldp-display
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit cbba4db47150bcac8e86a364e2a4b20ad27fb387
diff --git a/dist/lib/sib-core b/dist/lib/sib-core
new file mode 160000
index 00000000..444d2583
--- /dev/null
+++ b/dist/lib/sib-core
@@ -0,0 +1 @@
+Subproject commit 444d258357cc525300c291e45f7be7f920f972e1
diff --git a/dist/lib/sib-router b/dist/lib/sib-router
new file mode 160000
index 00000000..e374dc48
--- /dev/null
+++ b/dist/lib/sib-router
@@ -0,0 +1 @@
+Subproject commit e374dc48aed24e62096a9ca6c15e5f78833c35ca
diff --git a/src/html/dependencies-dev.php b/src/html/dependencies-dev.php
index 2534619c..c1024b53 100644
--- a/src/html/dependencies-dev.php
+++ b/src/html/dependencies-dev.php
@@ -12,7 +12,7 @@
     <script type="text/javascript" src="<?php echo $dn; ?>/src/js/hd-app.js?v=<?php echo $v ?>"></script>
 
     <!-- Web components -->
-    <link rel="import" href="<?php echo $dn; ?>/dist/lib/ldp-display/ldp-display.html?v=<?php echo $v ?>" />
-    <link rel="import" href="<?php echo $dn; ?>/dist/lib/ldp-display/ldp-router.html?v=<?php echo $v ?>" />
+    <link rel="import" href="<?php echo $dn; ?>/dist/lib/sib-core/sib-display.html?v=<?php echo $v ?>" />
+    <link rel="import" href="<?php echo $dn; ?>/dist/lib/sib-router/sib-router.html?v=<?php echo $v ?>" />
     <link rel="import" href="<?php echo $dn; ?>/dist/lib/xmpp-chat-component/chat-window-component.html?v=<?php echo $v ?>">
 
diff --git a/src/html/dependencies-prod.php b/src/html/dependencies-prod.php
index 762f4bb3..c633b3ee 100644
--- a/src/html/dependencies-prod.php
+++ b/src/html/dependencies-prod.php
@@ -13,6 +13,6 @@
 <script type="text/javascript" src="<?php echo $dn; ?>/src/js/hd-app.js?v=<?php echo $v ?>"></script>
 
 <!-- Web components -->
-<link rel="import" href="https://cdn.happy-dev.fr/ldp-display/ldp-display.html?v=<?php echo $v ?>" />
-<link rel="import" href="https://cdn.happy-dev.fr/ldp-display/ldp-router.html?v=<?php echo $v ?>" />
+<link rel="import" href="https://cdn.happy-dev.fr/sib-core/sib-display.html?v=<?php echo $v ?>" />
+<link rel="import" href="https://cdn.happy-dev.fr/sib-router/sib-router.html?v=<?php echo $v ?>" />
 <link rel="import" href="https://xmpp-chat-component.happy-dev.fr/chat-window-component.html?v=<?php echo $v ?>">
-- 
GitLab