Changeset 2639345
- Timestamp:
- 12/03/2021 11:13:40 PM (4 years ago)
- Location:
- torque/trunk
- Files:
-
- 8 edited
-
app.php (modified) (1 diff)
-
packages.php (modified) (1 diff)
-
packages/cssdoc/cssdoc.php (modified) (1 diff)
-
packages/htmldoc/tokens/tag.php (modified) (1 diff)
-
packages/jslite/jslite.php (modified) (1 diff)
-
packages/jslite/tokens/expression.php (modified) (1 diff)
-
packages/jslite/tokens/keyword.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
torque/trunk/app.php
r2615365 r2639345 22 22 23 23 // transient key 24 $cache = empty($minify['cache']) ? null : self::SLUG.'-style-'. md5(self::VERSION.$json.$code);24 $cache = empty($minify['cache']) ? null : self::SLUG.'-style-'.\md5(self::VERSION.$json.$code); 25 25 26 26 // not caching or there wasn't a cache -
torque/trunk/packages.php
r2604627 r2639345 17 17 * @var string VERSION The version number of the application, this is used in the cache key for CSS/Javascript that is minified 18 18 */ 19 public const VERSION = '0. 4.1';19 public const VERSION = '0.5.7'; 20 20 21 21 /** -
torque/trunk/packages/cssdoc/cssdoc.php
r2592945 r2639345 70 70 '#ee82ee' => 'violet', 71 71 '#f5deb3' => 'wheat', 72 'black' => '#000' 72 'black' => '#000', 73 'indianred' => '#cd5c5c', 74 'lightcoral' => '#f08080', 75 'darksalmon' => '#e9967a', 76 'lightsalmon' => '#ffa07a', 77 'crimson' => '#dc143c', 78 'firebrick' => '#b22222', 79 'darkred' => '#8b0000', 80 'lightpink' => '#ffb6c1', 81 'hotpink' => '#ff69b4', 82 'deeppink' => '#ff1493', 83 'mediumvioletred' => '#c71585', 84 'palevioletred' => '#db7093', 85 'lightsalmon' => '#ffa07a', 86 'orangered' => '#ff4500', 87 'darkorange' => '#ff8c00', 88 'lightyellow' => '#ffffe0', 89 'lemonchiffon' => '#fffacd', 90 'lightgoldenrodyellow' => '#fafad2', 91 'papayawhip' => '#ffefd5', 92 'moccasin' => '#ffe4b5', 93 'peachpuff' => '#ffdab9', 94 'palegoldenrod' => '#eee8aa', 95 'darkkhaki' => '#bdb76b', 96 'lavender' => '#e6e6fa', 97 'thistle' => '#d8bfd8', 98 'fuchsia' => '#ff00ff', 99 'magenta' => '#ff00ff', 100 'mediumorchid' => '#ba55d3', 101 'mediumpurple' => '#9370db', 102 'rebeccapurple' => '#663399', 103 'blueviolet' => '#8a2be2', 104 'darkviolet' => '#9400d3', 105 'darkorchid' => '#9932cc', 106 'darkmagenta' => '#8b008b', 107 'slateblue' => '#6a5acd', 108 'darkslateblue' => '#483d8b', 109 'mediumslateblue' => '#7b68ee', 110 'greenyellow' => '#adff2f', 111 'chartreuse' => '#7fff00', 112 'lawngreen' => '#7cfc00', 113 'limegreen' => '#32cd32', 114 'palegreen' => '#98fb98', 115 'lightgreen' => '#90ee90', 116 'mediumspringgreen' => '#00fa9a', 117 'springgreen' => '#00ff7f', 118 'mediumseagreen' => '#3cb371', 119 'seagreen' => '#2e8b57', 120 'forestgreen' => '#228b22', 121 'darkgreen' => '#006400', 122 'yellowgreen' => '#9acd32', 123 'olivedrab' => '#6b8e23', 124 'darkolivegreen' => '#556b2f', 125 'mediumaquamarine' => '#66cdaa', 126 'darkseagreen' => '#8fbc8b', 127 'lightseagreen' => '#20b2aa', 128 'darkcyan' => '#008b8b', 129 'lightcyan' => '#e0ffff', 130 'paleturquoise' => '#afeeee', 131 'aquamarine' => '#7fffd4', 132 'turquoise' => '#40e0d0', 133 'mediumturquoise' => '#48d1cc', 134 'darkturquoise' => '#00ced1', 135 'cadetblue' => '#5f9ea0', 136 'steelblue' => '#4682b4', 137 'lightsteelblue' => '#b0c4de', 138 'powderblue' => '#b0e0e6', 139 'lightblue' => '#add8e6', 140 'skyblue' => '#87ceeb', 141 'lightskyblue' => '#87cefa', 142 'deepskyblue' => '#00bfff', 143 'dodgerblue' => '#1e90ff', 144 'cornflowerblue' => '#6495ed', 145 'mediumslateblue' => '#7b68ee', 146 'royalblue' => '#4169e1', 147 'mediumblue' => '#0000cd', 148 'darkblue' => '#00008b', 149 'midnightblue' => '#191970', 150 'cornsilk' => '#fff8dc', 151 'blanchedalmond' => '#ffebcd', 152 'navajowhite' => '#ffdead', 153 'burlywood' => '#deb887', 154 'rosybrown' => '#bc8f8f', 155 'sandybrown' => '#f4a460', 156 'goldenrod' => '#daa520', 157 'darkgoldenrod' => '#b8860b', 158 'chocolate' => '#d2691e', 159 'saddlebrown' => '#8b4513', 160 'honeydew' => '#f0fff0', 161 'mintcream' => '#f5fffa', 162 'aliceblue' => '#f0f8ff', 163 'ghostwhite' => '#f8f8ff', 164 'whitesmoke' => '#f5f5f5', 165 'seashell' => '#fff5ee', 166 'oldlace' => '#fdf5e6', 167 'floralwhite' => '#fffaf0', 168 'antiquewhite' => '#faebd7', 169 'lavenderblush' => '#fff0f5', 170 'mistyrose' => '#ffe4e1', 171 'gainsboro' => '#dcdcdc', 172 'lightgray' => '#d3d3d3', 173 'darkgray' => '#a9a9a9', 174 'dimgray' => '#696969', 175 'lightslategray' => '#778899', 176 'slategray' => '#708090', 177 'darkslategray' => '#2f4f4f' 73 178 ], 74 179 'minify' => [ -
torque/trunk/packages/htmldoc/tokens/tag.php
r2615373 r2639345 372 372 foreach ($this->children AS $key => $item) { 373 373 if ($item === $node) { 374 unset($this->children[$key]); 374 $children = $this->children; 375 unset($children[$key]); 376 377 // re-key the values so the indexes are sequential 378 $this->children = \array_values($children); 375 379 } 376 380 } -
torque/trunk/packages/jslite/jslite.php
r2615373 r2639345 55 55 'quotestyle' => '"', // convert quotes to the specified character, null or false not to convert 56 56 'booleans' => true, // shorten booleans 57 'undefined' => true, // convert undefined to void 057 // 'undefined' => true, // convert undefined to void 0 58 58 'numbers' => true, // remove underscores from numbers 59 59 ] -
torque/trunk/packages/jslite/tokens/expression.php
r2615373 r2639345 155 155 156 156 // var undefined 157 } elseif ($current['value'] === 'undefined') {158 159 // is a variable definition160 if ($prev && \in_array($prev->content, ['const', 'let', 'var'])) {161 return false;162 163 // followed by an assignment, comma, or EOL164 } elseif (!$prev && \in_array($next['value'], ['=', ',', ';'])) {165 return false;166 }157 // } elseif ($current['value'] === 'undefined') { 158 // 159 // // is a variable definition 160 // if ($prev && \in_array($prev->content, ['const', 'let', 'var'])) { 161 // return false; 162 // 163 // // followed by an assignment, comma, or EOL 164 // } elseif (!$prev && \in_array($next['value'], ['=', ',', ';'])) { 165 // return false; 166 // } 167 167 } 168 168 } elseif ($prev && \get_class($prev) === __NAMESPACE__.'\\operator' && $prev->content === '.') { -
torque/trunk/packages/jslite/tokens/keyword.php
r2592945 r2639345 41 41 } 42 42 break; 43 case 'undefined':44 if ($minify['undefined']) {45 $this->content = 'void 0';46 }47 break;43 // case 'undefined': 44 // if ($minify['undefined']) { 45 // $this->content = 'void 0'; 46 // } 47 // break; 48 48 } 49 49 } -
torque/trunk/readme.txt
r2615369 r2639345 5 5 Tested up to: 5.8 6 6 Requires PHP: 7.3 7 Stable tag: 0.5. 67 Stable tag: 0.5.7 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 42 42 * Enable HSTS to force browsers to only connect over HTTPS 43 43 * Specify Content-Security-Policy to control what domains can connect and embed content in your site 44 * HTTP/2.0 Push 45 * Select which assets to push with first load 46 * Push combined stylesheets 44 47 * Administration panel to control all features, including all minification optimisations 45 48 … … 134 137 == Changelog == 135 138 139 = Version 0.5.7 = 140 141 * Updated dependencies to fix issues with minifying Javascript 142 * Updated readme to add unlisted features 143 136 144 = Version 0.5.6 = 137 145
Note: See TracChangeset
for help on using the changeset viewer.