зеркало из https://github.com/mozilla/treeherder.git
code cleanup.
This commit is contained in:
Родитель
d4728d43c8
Коммит
4330fb89d2
|
@ -123,6 +123,5 @@
|
|||
<script src="js/controllers/machines.js"></script>
|
||||
<script src="js/controllers/timeline.js"></script>
|
||||
<script src="js/filters.js"></script>
|
||||
<script src="js/directives.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
/* Directives */
|
||||
treeherder.directive('ngRightClick', function($parse) {
|
||||
return function(scope, element, attrs) {
|
||||
var fn = $parse(attrs.ngRightClick);
|
||||
element.bind('contextmenu', function(event) {
|
||||
scope.$apply(function() {
|
||||
event.preventDefault();
|
||||
fn(scope, {$event:event});
|
||||
});
|
||||
});
|
||||
};
|
||||
});
|
|
@ -66,7 +66,6 @@
|
|||
<script src="js/controllers/machines.js"></script>
|
||||
<script src="js/controllers/timeline.js"></script>
|
||||
<script src="js/filters.js"></script>
|
||||
<script src="js/directives.js"></script>
|
||||
<script src="js/controllers/logviewer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче