Skip to content

Commit aebade4

Browse files
committed
fix(all): fix plunker
1 parent 26e8c5a commit aebade4

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

misc/demo/assets/plunker.js

+9-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ angular.module('plunker', [])
22

33
.factory('plunkGenerator', function ($document) {
44

5-
return function (ngVersion, bsVersion, version, module, content) {
5+
return function (ngVersion, fdVersion, version, module, content) {
66

77
var form = angular.element('<form style="display: none;" method="post" action="http://plnkr.co/edit/?p=preview" target="_blank"></form>');
88
var addField = function (name, value) {
@@ -18,10 +18,14 @@ angular.module('plunker', [])
1818
' <script src="http://ajax.googleapis.com/ajax/libs/angularjs/'+ngVersion+'/angular.js"></script>\n' +
1919
' <script src="http://madmimi.github.io/angular-foundation/mm-foundation-tpls-'+version+'.js"></script>\n' +
2020
' <script src="example.js"></script>\n' +
21-
' <link href="//netdna.bootstrapcdn.com/bootstrap/'+bsVersion+'/css/bootstrap.min.css" rel="stylesheet">\n' +
21+
' <link href="//cdn.jsdelivr.net/foundation/'+fdVersion+'/css/foundation.css" rel="stylesheet">\n' +
2222
' </head>\n' +
2323
' <body>\n\n' +
24-
content + '\n' +
24+
' <div class="row">\n' +
25+
' <div class="small-12.columns">\n' +
26+
content + '\n' +
27+
' </div>\n' +
28+
' </div>\n'
2529
' </body>\n' +
2630
'</html>\n';
2731
};
@@ -44,8 +48,8 @@ angular.module('plunker', [])
4448

4549
$scope.content = {};
4650

47-
$scope.edit = function (ngVersion, bsVersion, version, module) {
48-
plunkGenerator(ngVersion, bsVersion, version, module, $scope.content);
51+
$scope.edit = function (ngVersion, fdVersion, version, module) {
52+
plunkGenerator(ngVersion, fdVersion, version, module, $scope.content);
4953
};
5054
})
5155

0 commit comments

Comments
 (0)