Move zeroclipboard and typeahead to the lib directory.
This commit is contained in:
parent
f5e121d98d
commit
e81a24a9ce
5 changed files with 3 additions and 3 deletions
|
@ -168,7 +168,7 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope) {
|
|||
$scope.repo = repo;
|
||||
$scope.currentTag = repo.tags[tag] || repo.tags['latest'];
|
||||
|
||||
var clip = new ZeroClipboard($('#copyClipboard'), { 'moviePath': 'static/js/ZeroClipboard.swf' });
|
||||
var clip = new ZeroClipboard($('#copyClipboard'), { 'moviePath': 'static/lib/ZeroClipboard.swf' });
|
||||
clip.on('complete', function() {
|
||||
// Resets the animation.
|
||||
var elem = $('#clipboardCopied')[0];
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
<script src="static/lib/pagedown/Markdown.Editor.js"></script>
|
||||
<script src="static/lib/pagedown/Markdown.Sanitizer.js"></script>
|
||||
|
||||
<script src="static/js/ZeroClipboard.min.js"></script>
|
||||
<script src="static/js/typeahead.min.js"></script>
|
||||
<script src="static/lib/ZeroClipboard.min.js"></script>
|
||||
<script src="static/lib/typeahead.min.js"></script>
|
||||
|
||||
<script src="static/js/app.js"></script>
|
||||
<script src="static/js/controllers.js"></script>
|
||||
|
|
Reference in a new issue