Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 398e716

Browse files
committedMar 5, 2014
'use strict' & surround build step cleanups.
1 parent cf46dc9 commit 398e716

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎gruntFile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* jshint node:true */
2+
13
'use strict';
24

35
module.exports = function(grunt) {
@@ -102,7 +104,8 @@ module.exports = function(grunt) {
102104

103105
surround: {
104106
options: {
105-
prepend: '(function(window, angular, undefined) { \'use strict\';',
107+
prepend: ['(function(window, angular, undefined) {',
108+
'\'use strict\';'].join('\n'),
106109
append: '})(window, window.angular);'
107110
},
108111
main: {

‎src/sortable.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ angular.module('ui.sortable', [])
88
.directive('uiSortable', [
99
'uiSortableConfig', '$timeout', '$log',
1010
function(uiSortableConfig, $timeout, $log) {
11-
'use strict';
12-
1311
return {
1412
require: '?ngModel',
1513
link: function(scope, element, attrs, ngModel) {

0 commit comments

Comments
 (0)
This repository has been archived.