lots of nothing
This commit is contained in:
parent
9b6044361f
commit
e3fc948a77
9 changed files with 48 additions and 18 deletions
|
@ -11,15 +11,6 @@ angular.module('JamStash').directive('sortable', function () {
|
|||
}
|
||||
};
|
||||
})
|
||||
/*
|
||||
.directive('split', function () {
|
||||
return {
|
||||
link: function (scope, elm, attrs) {
|
||||
elm.splitPane();
|
||||
}
|
||||
};
|
||||
})
|
||||
*/
|
||||
.directive('fancybox', ['$compile', function($compile){
|
||||
return {
|
||||
restrict: 'A',
|
||||
|
@ -123,4 +114,22 @@ angular.module('JamStash').directive('sortable', function () {
|
|||
}
|
||||
});
|
||||
};
|
||||
})
|
||||
.directive("ngMsgs", function() {
|
||||
/* Not Using */
|
||||
return {
|
||||
restrict: 'E',
|
||||
transclude : false,
|
||||
scope: {
|
||||
msgs: "="
|
||||
},
|
||||
template: '<span id="msg_{{$index}}" class="message">{{ item }}</span>',
|
||||
link: function (scope, elm, attrs) {
|
||||
scope.$watch(scope.Messages, function () {
|
||||
var content = $compile((template)(scope));
|
||||
elm.append(content);
|
||||
$(elm).parent().fadeIn();
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue