File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 72
72
file = file . split ( '%css%' ) . join ( bin . css ) ;
73
73
} else {
74
74
// is there head tag?
75
- css = '<style>\n' + css + '\n</style>\n' ;
75
+ css = '<style id="jsbin-css" >\n' + css + '\n</style>\n' ;
76
76
var head = insert ( file , '</head>' , css ) ;
77
77
if ( head ) {
78
78
file = head ;
104
104
file = file . split ( '%code%' ) . join ( javascript ) ;
105
105
} else {
106
106
// is there head tag?
107
- javascript = '<script>\n' + javascript + '\n</script>' ;
107
+ javascript = '<script id="jsbin-javascript" >\n' + javascript + '\n</script>' ;
108
108
var body = insert ( file , '</body>' , javascript + '\n' ) ;
109
109
if ( body ) {
110
110
file = body ;
123
123
}
124
124
var content = safeForHTML ( source [ type ] ) ;
125
125
if ( content ) {
126
- return '\n<script id="jsbin-panel -' + type + '" type="text/' + ( processors [ type ] || type ) + '">\n' + content + '</script>' ;
126
+ return '\n<script id="jsbin-source -' + type + '" type="text/' + ( processors [ type ] || type ) + '">\n' + content + '</script>' ;
127
127
}
128
128
} ) . join ( '\n' ) ;
129
129
You can’t perform that action at this time.
0 commit comments