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

Commit 1d3c25f

Browse files
committed
Merge pull request #141 from thgreasi/master
'use strict' & surround build step cleanups.
2 parents cf46dc9 + 398e716 commit 1d3c25f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

gruntFile.js

+4-1
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

-2
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)