@@ -2,7 +2,7 @@ angular.module('plunker', [])
2
2
3
3
. factory ( 'plunkGenerator' , function ( $document ) {
4
4
5
- return function ( ngVersion , bsVersion , version , module , content ) {
5
+ return function ( ngVersion , fdVersion , version , module , content ) {
6
6
7
7
var form = angular . element ( '<form style="display: none;" method="post" action="http://plnkr.co/edit/?p=preview" target="_blank"></form>' ) ;
8
8
var addField = function ( name , value ) {
@@ -18,10 +18,14 @@ angular.module('plunker', [])
18
18
' <script src="http://ajax.googleapis.com/ajax/libs/angularjs/' + ngVersion + '/angular.js"></script>\n' +
19
19
' <script src="http://madmimi.github.io/angular-foundation/mm-foundation-tpls-' + version + '.js"></script>\n' +
20
20
' <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' +
22
22
' </head>\n' +
23
23
' <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'
25
29
' </body>\n' +
26
30
'</html>\n' ;
27
31
} ;
@@ -44,8 +48,8 @@ angular.module('plunker', [])
44
48
45
49
$scope . content = { } ;
46
50
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 ) ;
49
53
} ;
50
54
} )
51
55
0 commit comments