Skip to content

Commit 272e543

Browse files
committed
Changed default task and deprecation notice
1 parent 56c1fed commit 272e543

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

gulp/tasks/default.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
var gulp = require('gulp');
22

33
gulp.task('default', [
4-
'minify',
5-
'bootstrap',
6-
'bootstrap-datepicker'
4+
'minify'
75
]);

src/services/decorators.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,16 @@ angular.module('schemaForm').provider('schemaFormDecorators',
1919
return decorator['default'].template;
2020
};
2121

22-
var createDirective = function(name) {
23-
$compileProvider.directive(name,
22+
/**************************************************
23+
* DEPRECATED *
24+
* The new builder and sf-field is preferred, but *
25+
* we keep this in during a transitional period *
26+
* so that add-ons that don't use the new builder *
27+
* works. *
28+
**************************************************/
29+
//TODO: Move to a compatability extra script.
30+
var createDirective = function(name) {
31+
$compileProvider.directive(name,
2432
['$parse', '$compile', '$http', '$templateCache', '$interpolate', '$q', 'sfErrorMessage',
2533
'sfPath','sfSelect',
2634
function($parse, $compile, $http, $templateCache, $interpolate, $q, sfErrorMessage,

0 commit comments

Comments
 (0)