Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7784, comment 4


Ignore:
Timestamp:
Dec 15, 2010, 11:16:59 AM (12 years ago)
Author:
cowboy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7784, comment 4

    initial v1  
    33{{{
    44$.get( 'test.html', function(html){
    5   html = html.replace( /<(\/?)(html|head|body)([^>]*)>/g, function(a,b,c,d){
     5  html = html.replace( /<(\/?)(html|head|body)([^>]*)>/ig, function(a,b,c,d){
    66    return '<' + b + 'div' + ( b ? '' : ' data-element="' + c + '"' ) + d + '>';
    77  });