Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
30523a90
Commit
30523a90
authored
May 23, 2017
by
Mathieu Giraud
Browse files
js/app.js: loads and display 'js/git-sha1.js' when it is available
See
#1847
.
parent
d138c57b
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/app.js
View file @
30523a90
...
@@ -21,6 +21,10 @@ require(["jquery",
...
@@ -21,6 +21,10 @@ require(["jquery",
});
});
// Show git_sha1, when it exists
require
([
"
../git-sha1
"
],
function
()
{
console
.
log
(
"
Vidjil client
"
+
git_sha1
)
},
function
(
err
)
{
})
function
loadAfterConf
()
{
function
loadAfterConf
()
{
// Then load views (otherwise that could generate some errors if
// Then load views (otherwise that could generate some errors if
// some files are loaded before the views)
// some files are loaded before the views)
...
...
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