Plugin Directory

Changeset 1920083


Ignore:
Timestamp:
08/05/2018 06:54:43 PM (8 years ago)
Author:
knarfalingus
Message:

Update to support TypeScript 3.0

Location:
syntax-highlighter-evolved-typescript/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • syntax-highlighter-evolved-typescript/trunk/license.txt

    r1162384 r1920083  
    11TypeScript for SyntaxHighlighter Evolved Plugin
    2 by Knarfalingus (https://www.knarfalingus.com/)
     2by Knarfalingus (https://knarfalingus.net/)
    33
    44-=-=-=-=   GPL License -=-=-=-=
    55
    6 Copyright 2014-2015 by Knarfalingus
     6Copyright 2014-2018 by Knarfalingus
    77
    88This program is free software; you can redistribute it and/or modify
     
    699699-=-=-=-=   MIT License -=-=-=-=
    700700
    701     Copyright (c) 2015 Knarfalingus  (email : [email protected] )
     701    Copyright (c) 2015-2018 Knarfalingus  (email : [email protected] )
    702702
    703703    Permission is hereby granted, free of charge, to any person obtaining a
  • syntax-highlighter-evolved-typescript/trunk/readme.txt

    r1162384 r1920083  
    33Tags: syntaxhighlighting, typescript
    44Requires at least: 2.7
    5 Tested up to: 4.2.2
     5Tested up to: 4.9.8
    66Stable tag: 1.5.0
    77License: dual - GPLv3 or MIT
     
    2626* Updated licensing in files to clarify GPL as being v3, added MIT option
    2727* Added support for custom regions (Web Essentials http://vswebessentials.com/features/typescript)
     28
     29= 1.6.0 =
     30* Updated to support Typescript 3.0 keywords
  • syntax-highlighter-evolved-typescript/trunk/shBrushTScript.js

    r1162384 r1920083  
    77 *
    88 * @version
    9  * 1.4.9 (Sun, 10 May 2015)
     9 * 1.6.0 (Sun, 5 Aug 2018)
    1010 *
    1111 * @copyright
    12  * TypeScript brush Copyright (C) 2014-2015 Knarf P. Lingus.
     12 * TypeScript brush Copyright (C) 2014-2018 Knarf A. Lingus.
    1313 *
    1414 * @license
     
    1818SyntaxHighlighter.brushes.TypeScript = function()
    1919{
    20         // reserved words ECMAscript 6,  removed older ECMAscript  reserved keywords (abstract, constructor etc)
     20        // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar
    2121        var keywords =  'break case catch class const continue debugger default delete do else '
    22             + 'export extends finally for function if import in instanceof let new '
     22            + 'export extends finally for function if import in instanceof new '
    2323            + 'return super switch this throw try typeof var void while with yield '
    2424            // future reserved
    25             + 'await enum '
     25            + 'enum '
    2626            // future reserved strict mode
    27             + 'implements interface package private protected public static '
     27            + 'implements interface let package private protected public static '
    2828            // literals
    2929            + 'false null true '
    30             // Typescript 1.5 beta - anything in scanner.ts that is not in above....
    31             + 'any as Array boolean constructor declare from get module namespace number of require set static string symbol type';
     30            // JS future reserved
     31            + 'abstract boolean byte char double final float goto int long native short synchronized throws transient volatile '
     32            // Typescript 3.0
     33            + 'any as async await Array constructor declare from get global infer is keyof module namespace never number object of require set static string symbol type undefined unique unknown ';
    3234           
    3335             
  • syntax-highlighter-evolved-typescript/trunk/syntaxhighlighter_typescript.php

    r1162384 r1920083  
    44Plugin Name: SyntaxHighlighter Evolved: TypeScript Brush
    55Description: Adds support for the TypeScript language to the SyntaxHighlighter Evolved plugin.
    6 Version: 1.5.0
     6Version: 1.6.0
    77Author: KnarfaLingus
    88Author URI: https://www.knarfalingus.com/
     
    1111 
    1212/* GPL License follows */
    13 /*  Copyright 2014-2015 Knarfalingus  (email : [email protected] )
     13/*  Copyright 2014-2018 Knarfalingus  (email : [email protected] )
    1414
    1515    This program is free software; you can redistribute it and/or modify
     
    2929/* MIT license follows */
    3030/*
    31     Copyright (c) 2015 Knarfalingus  (email : [email protected] )
     31    Copyright (c) 2018 Knarfalingus  (email : [email protected] )
    3232
    3333    Permission is hereby granted, free of charge, to any person obtaining a
Note: See TracChangeset for help on using the changeset viewer.