From d232060614391b8a1bbafef1aa584c2185e6076c Mon Sep 17 00:00:00 2001 From: Nikolay Demyankov Date: Wed, 16 Sep 2015 15:35:32 +0200 Subject: [PATCH] Changed name of the web hooks directory from 'web_hooks' to 'ul_web_hooks' --- hooks/lib/android/webSiteHook.js | 4 ++-- hooks/lib/ios/appleAppSiteAssociationFile.js | 2 +- {web_hooks => ul_web_hooks}/android_web_hook_tpl.html | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename {web_hooks => ul_web_hooks}/android_web_hook_tpl.html (100%) diff --git a/hooks/lib/android/webSiteHook.js b/hooks/lib/android/webSiteHook.js index 6a891039..95340656 100644 --- a/hooks/lib/android/webSiteHook.js +++ b/hooks/lib/android/webSiteHook.js @@ -58,7 +58,7 @@ https://developer.android.com/training/app-indexing/enabling-app-indexing.html * @return {String} data from the template file */ function readTemplate(projectRoot) { - var filePath = path.join(projectRoot, 'plugins', 'cordova-universal-links-plugin', 'web_hooks', 'android_web_hook_tpl.html'), + var filePath = path.join(projectRoot, 'plugins', 'cordova-universal-links-plugin', 'ul_web_hooks', 'android_web_hook_tpl.html'), tplData = null; try { @@ -127,7 +127,7 @@ https://developer.android.com/training/app-indexing/enabling-app-indexing.html * @return {boolean} true - if data was saved; otherwise - false; */ function saveWebHook(projectRoot, hookContent) { - var dirPath = path.join(projectRoot, 'web_hooks', 'android'), + var dirPath = path.join(projectRoot, 'ul_web_hooks', 'android'), filePath = path.join(dirPath, WEB_HOOK_FILE_NAME), isSaved = true; diff --git a/hooks/lib/ios/appleAppSiteAssociationFile.js b/hooks/lib/ios/appleAppSiteAssociationFile.js index 6e03aedb..eed5ff0e 100644 --- a/hooks/lib/ios/appleAppSiteAssociationFile.js +++ b/hooks/lib/ios/appleAppSiteAssociationFile.js @@ -72,7 +72,7 @@ TODO: cleanup! } function getWebHookDirectory() { - return path.join(getProjectRoot(), 'web_hooks', 'ios'); + return path.join(getProjectRoot(), 'ul_web_hooks', 'ios'); } function getProjectRoot() { diff --git a/web_hooks/android_web_hook_tpl.html b/ul_web_hooks/android_web_hook_tpl.html similarity index 100% rename from web_hooks/android_web_hook_tpl.html rename to ul_web_hooks/android_web_hook_tpl.html