lots of nothing

This commit is contained in:
Trevor Squillario 2014-12-06 20:26:19 -05:00
parent 9b6044361f
commit e3fc948a77
9 changed files with 48 additions and 18 deletions

View file

@ -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();
});
}
};
});