Sha256: df6f068d15f63ec009ffb87329c3eff156ce9921d1d7c6ae330cac248ffbf716

Contents?: true

Size: 586 Bytes

Versions: 80

Compression:

Stored size: 586 Bytes

Contents

// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
Syntax.register("diff",function(a){a.push({pattern:/^\+\+\+.*$/gm,klass:"add"});a.push({pattern:/^\-\-\-.*$/gm,klass:"del"});a.push({pattern:/^@@.*@@/gm,klass:"offset"});a.push({pattern:/^\+[^\+]{1}.*$/gm,klass:"insert"});a.push({pattern:/^\-[^\-]{1}.*$/gm,klass:"remove"});a.postprocess=function(a,b,c){$(".insert",b).closest(".source").addClass("insert-line");$(".remove",b).closest(".source").addClass("remove-line");$(".offset",b).closest(".source").addClass("offset-line");return b}});

Version data entries

80 entries across 78 versions & 4 rubygems

Version Path
utopia-project-0.33.1 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.33.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.32.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.31.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.30.1 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.30.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.29.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.28.1 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.28.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.27.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.26.1 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.26.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.25.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.24.1 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.24.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.23.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.22.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.21.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
utopia-project-0.20.3 public/_components/jquery-syntax/jquery.syntax.brush.diff.js
async-debug-0.2.0 public/_components/jquery-syntax/jquery.syntax.brush.diff.js