Sha256: e31ba57f9becf2cc1021fd97c6ab6daf0f90682e23eae86479380734af4cfa99

Contents?: true

Size: 1.96 KB

Versions: 15

Compression:

Stored size: 1.96 KB

Contents

// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
Syntax.lib.vbStyleComment={pattern:/' .*$/gm,klass:"comment",allow:["href"]};
Syntax.register("basic",function(a){var b="- & &= * *= / /= \\ = ^ ^= + += = -=".split(" "),b="+ - * / += -= *= /= = := == != ! % ? > < >= <= && || & | ^ . ~ .. >> << >>> <<< >>= <<= >>>= <<<= %= ^= @".split(" ");a.push("CBool CByte CChar CDate CDec CDbl Char CInt CLng CObj Const CShort CSng CStr CType Date Decimal Variant String Short Long Single Double Object Integer Boolean Byte Char".split(" "),{klass:"type"});a.push("AddHandler AddressOf Alias And AndAlso Ansi As Assembly Auto ByRef ByVal Call Case Catch Declare Default Delegate Dim DirectCast Do Each Else ElseIf End Enum Erase Error Event Exit Finally For Function Get GetType GoSub GoTo Handles If Implements Imports In Inherits Interface Is Let Lib Like Loop Mod Module MustOverride Namespace New Next Not On Option Optional Or OrElse Overloads Overridable Overrides ParamArray Preserve Property RaiseEvent ReadOnly ReDim REM RemoveHandler Resume Return Select Set Static Step Stop Structure Sub SyncLock Then Throw To Try TypeOf Unicode Until When While With WithEvents WriteOnly Xor ExternalSource Region Print Class".split(" "),{klass:"keyword",
options:"gi"});a.push(b,{klass:"operator"});a.push("Public Protected Private Shared Friend Shadows MustInherit NotInheritable NotOverridable".split(" "),{klass:"access"});a.push(["Me","MyClass","MyBase","super","True","False","Nothing",/[A-Z][A-Z0-9_]+/g],{klass:"constant"});a.push(Syntax.lib.decimalNumber);a.push(Syntax.lib.camelCaseType);a.push(Syntax.lib.vbStyleComment);a.push(Syntax.lib.webLink);a.push(Syntax.lib.doubleQuotedString);a.push(Syntax.lib.stringEscape);a.postprocess=function(a,b,c){jQuery(".function",
b).each(function(){var a=jQuery(this).text();jQuery(this).replaceWith(jQuery("<a>").attr("href","http://social.msdn.microsoft.com/Search/en-us?query="+encodeURIComponent(a)).text(a))});return b}});

Version data entries

15 entries across 13 versions & 3 rubygems

Version Path
utopia-project-0.6.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-project-0.5.1 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-project-0.5.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-project-0.4.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-project-0.3.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-project-0.2.1 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-project-0.2.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-project-0.1.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-2.15.1 docs/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-2.15.0 docs/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-wiki-0.3.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-wiki-0.3.0 lib/components/jquery-syntax/dist/jquery.syntax.brush.basic.js
utopia-wiki-0.2.0 public/_components/jquery-syntax/jquery.syntax.brush.basic.js
utopia-wiki-0.2.0 lib/components/jquery-syntax/dist/jquery.syntax.brush.basic.js
utopia-2.14.0 docs/_components/jquery-syntax/jquery.syntax.brush.basic.js