Skip to content

Commit eb8d9fd

Browse files
committed
proper rename
1 parent a9297f6 commit eb8d9fd

11 files changed

Lines changed: 9 additions & 9 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ career-maps.json
77
changelog.json
88
changelog.xml
99
changelog_latest.json
10-
navigation_loader.js
10+
bitrise-navigation-loader.js
1111
.DS_Store
1212
.env
1313
/wrangler.toml

dist/bitrise-navigation.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<bitrise-navigation></bitrise-navigation>
7070

7171
<!-- Load the component script (production: from CDN, dev: local) -->
72-
<script src="/navigation.js"></script>
72+
<script src="/bitrise-navigation.js"></script>
7373

7474
<!-- ====================================================================
7575
DOCUMENTATION
@@ -89,7 +89,7 @@ <h2>Quick Start (no framework)</h2>
8989
<span class="tag">&lt;bitrise-navigation&gt;&lt;/bitrise-navigation&gt;</span>
9090

9191
<span class="comment">&lt;!-- 2. Load the component script --&gt;</span>
92-
<span class="tag">&lt;script</span> <span class="attr">src</span>=<span class="str">"https://web-cdn.bitrise.io/navigation.js"</span><span class="tag">&gt;&lt;/script&gt;</span></code></pre>
92+
<span class="tag">&lt;script</span> <span class="attr">src</span>=<span class="str">"https://web-cdn.bitrise.io/bitrise-navigation.js"</span><span class="tag">&gt;&lt;/script&gt;</span></code></pre>
9393

9494
<p>That's it. The element:</p>
9595
<ol>
@@ -115,7 +115,7 @@ <h3>1. Load the script</h3>
115115
<pre><code><span class="comment">&lt;!-- public/index.html --&gt;</span>
116116
<span class="tag">&lt;head&gt;</span>
117117
...
118-
<span class="tag">&lt;script</span> <span class="attr">src</span>=<span class="str">"https://web-cdn.bitrise.io/navigation.js"</span><span class="tag">&gt;&lt;/script&gt;</span>
118+
<span class="tag">&lt;script</span> <span class="attr">src</span>=<span class="str">"https://web-cdn.bitrise.io/bitrise-navigation.js"</span><span class="tag">&gt;&lt;/script&gt;</span>
119119
<span class="tag">&lt;/head&gt;</span></code></pre>
120120

121121
<h3>2. Use in JSX</h3>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "node ./build.js",
3131
"build_changelog": "node ./src/js/changelog/build.js",
3232
"build_career_maps": "node ./src/js/career-maps/build.js",
33-
"build:navigation": "node ./src/js/navigation/build.js ./dist/navigation_loader.js",
33+
"build:navigation": "node ./src/js/bitrise-navigation/build.js ./dist/bitrise-navigation-loader.js",
3434
"check_cert:bitrise": "node ./src/js/tools/cert_check.js bitrise.io",
3535
"check_cert:docs": "node ./src/js/tools/cert_check.js docs.bitrise.io"
3636
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
// Importing BitriseNavigation registers the <bitrise-navigation> custom element
1212
// and sets up the global loader callback. This runs in both dev and production.
13-
import { connectedInstances, cachedData, setCachedData, init } from './navigation/BitriseNavigation';
14-
import { renderNavigation } from './navigation/render';
13+
import { connectedInstances, cachedData, setCachedData, init } from './bitrise-navigation/BitriseNavigation';
14+
import { renderNavigation } from './bitrise-navigation/render';
1515

1616
// Explicit initialization — registers the custom element and global callback.
1717
init();
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** Loader script URLs per environment. */
22
export const LOADER_URLS = {
3-
development: '/navigation_loader.js',
4-
production: 'https://web-cdn.bitrise.io/navigation_loader.js',
3+
development: '/bitrise-navigation-loader.js',
4+
production: 'https://web-cdn.bitrise.io/bitrise-navigation-loader.js',
55
};
66

77
/**

0 commit comments

Comments
 (0)