Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
02a43677
Unverified
Commit
02a43677
authored
Dec 19, 2017
by
Sheetal Umesh Kumar
Committed by
GitHub
Dec 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #633 from hypothesis/rename-js-bundles
Rename JS bundles to match corresponding source directory
parents
fee8db0b
7c0567d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
gulpfile.js
gulpfile.js
+2
-2
boot.js
src/boot/boot.js
+2
-2
boot-test.js
src/boot/test/boot-test.js
+4
-4
No files found.
gulpfile.js
View file @
02a43677
...
...
@@ -105,13 +105,13 @@ var appBundles = [{
transforms
:
[
'babel'
],
},{
// The sidebar application for displaying and editing annotations.
name
:
'
app
'
,
name
:
'
sidebar
'
,
transforms
:
[
'babel'
,
'coffee'
],
entry
:
'./src/sidebar/index'
,
},{
// The annotation layer which handles displaying highlights, presenting
// annotation tools on the page and instantiating the sidebar application.
name
:
'
injec
tor'
,
name
:
'
annota
tor'
,
entry
:
'./src/annotator/index'
,
transforms
:
[
'babel'
,
'coffee'
],
}];
...
...
src/boot/boot.js
View file @
02a43677
...
...
@@ -65,7 +65,7 @@ function bootHypothesisClient(doc, config) {
'scripts/jquery.bundle.js'
,
// Main entry point for the client
'scripts/
injec
tor.bundle.js'
,
'scripts/
annota
tor.bundle.js'
,
'styles/icomoon.css'
,
'styles/annotator.css'
,
...
...
@@ -87,7 +87,7 @@ function bootSidebarApp(doc, config) {
'scripts/unorm.bundle.js'
,
// The sidebar app
'scripts/
app
.bundle.js'
,
'scripts/
sidebar
.bundle.js'
,
'styles/angular-csp.css'
,
'styles/angular-toastr.css'
,
...
...
src/boot/test/boot-test.js
View file @
02a43677
...
...
@@ -19,7 +19,7 @@ describe('bootstrap', function () {
// Annotation layer
'scripts/polyfills.bundle.js'
,
'scripts/jquery.bundle.js'
,
'scripts/
injec
tor.bundle.js'
,
'scripts/
annota
tor.bundle.js'
,
'styles/annotator.css'
,
'styles/icomoon.css'
,
'styles/pdfjs-overrides.css'
,
...
...
@@ -31,7 +31,7 @@ describe('bootstrap', function () {
'scripts/showdown.bundle.js'
,
'scripts/polyfills.bundle.js'
,
'scripts/unorm.bundle.js'
,
'scripts/
app
.bundle.js'
,
'scripts/
sidebar
.bundle.js'
,
'styles/angular-csp.css'
,
'styles/angular-toastr.css'
,
...
...
@@ -70,7 +70,7 @@ describe('bootstrap', function () {
it
(
'loads assets for the annotation layer'
,
function
()
{
runBoot
();
var
expectedAssets
=
[
'scripts/
injec
tor.bundle.1234.js'
,
'scripts/
annota
tor.bundle.1234.js'
,
'scripts/jquery.bundle.1234.js'
,
'scripts/polyfills.bundle.1234.js'
,
'styles/annotator.1234.css'
,
...
...
@@ -119,11 +119,11 @@ describe('bootstrap', function () {
runBoot
();
var
expectedAssets
=
[
'scripts/angular.bundle.1234.js'
,
'scripts/app.bundle.1234.js'
,
'scripts/katex.bundle.1234.js'
,
'scripts/polyfills.bundle.1234.js'
,
'scripts/raven.bundle.1234.js'
,
'scripts/showdown.bundle.1234.js'
,
'scripts/sidebar.bundle.1234.js'
,
'scripts/unorm.bundle.1234.js'
,
'styles/angular-csp.1234.css'
,
'styles/angular-toastr.1234.css'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment