tech(systemjs): more stuff is starting to work

This commit is contained in:
Torkel Ödegaard
2015-12-17 16:30:53 +01:00
parent 83ce40191c
commit df1e52e394
27 changed files with 75 additions and 68 deletions

View File

@@ -6,7 +6,7 @@ define([
function (angular, coreModule, kbn) {
'use strict';
coreModule.directive('tip', function($compile) {
coreModule.default.directive('tip', function($compile) {
return {
restrict: 'E',
link: function(scope, elem, attrs) {
@@ -18,7 +18,7 @@ function (angular, coreModule, kbn) {
};
});
coreModule.directive('watchChange', function() {
coreModule.default.directive('watchChange', function() {
return {
scope: { onchange: '&watchChange' },
link: function(scope, element) {
@@ -31,7 +31,7 @@ function (angular, coreModule, kbn) {
};
});
coreModule.directive('editorOptBool', function($compile) {
coreModule.default.directive('editorOptBool', function($compile) {
return {
restrict: 'E',
link: function(scope, elem, attrs) {
@@ -51,7 +51,7 @@ function (angular, coreModule, kbn) {
};
});
coreModule.directive('editorCheckbox', function($compile, $interpolate) {
coreModule.default.directive('editorCheckbox', function($compile, $interpolate) {
return {
restrict: 'E',
link: function(scope, elem, attrs) {
@@ -73,7 +73,7 @@ function (angular, coreModule, kbn) {
};
});
coreModule.directive('gfDropdown', function ($parse, $compile, $timeout) {
coreModule.default.directive('gfDropdown', function ($parse, $compile, $timeout) {
function buildTemplate(items, placement) {
var upclass = placement === 'top' ? 'dropup' : '';
var ul = [