lib/assets/javascripts/directives/ngcallback.coffee in material_raingular-0.2.3.1 vs lib/assets/javascripts/directives/ngcallback.coffee in material_raingular-0.2.5

- old
+ new

@@ -1,9 +1,10 @@ angular.module 'NgCallback', ['Factories', 'FactoryName'] .directive 'ngCallback', -> restrict: 'A' controller: ($scope,$element) -> + console.warn 'ngCallback is deprecated. Please consider using mrCallback in its stead.' @evaluate = (returnData)-> for callback in $element[0].attributes['ng-callback'].value.split(';') [match,func,args] = callback.match(/(.*)\((.*)\)/) data = [] if !!args