Skip to content

Commit 1fb8713

Browse files
committed
Version update
1 parent baf4e28 commit 1fb8713

File tree

5 files changed

+32
-21
lines changed

5 files changed

+32
-21
lines changed

dist/easycoder-min.js

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/easycoder.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6047,12 +6047,16 @@ const EasyCoder_Browser = {
60476047

60486048
getCoord: (compiler, type, offset) => {
60496049
if (compiler.nextTokenIs(`of`)) {
6050-
if (compiler.nextTokenIs(`window`)) {
6050+
if (compiler.nextTokenIs(`the`)) {
6051+
compiler.nextToken();
6052+
}
6053+
const symbol = compiler.getToken();
6054+
if ([`window`, `viewport`].includes(symbol)) {
60516055
compiler.next();
60526056
return {
60536057
domain: `browser`,
60546058
type,
6055-
symbol: `window`,
6059+
symbol,
60566060
offset
60576061
};
60586062
}
@@ -8363,7 +8367,7 @@ const EasyCoder = {
83638367
}
83648368
},
83658369
};
8366-
EasyCoder.version = `2.6.1`;
8370+
EasyCoder.version = `2.7.0`;
83678371
EasyCoder.timestamp = Date.now();
83688372
console.log(`EasyCoder loaded; waiting for page`);
83698373

dist/easycoder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: EasyCoder
44
* Plugin URI: https://easycoder.software
55
* Description: Control the appearance and behavior of your posts and pages by embedding simple English-like scripts, without the need to learn JavaScript.
6-
* Version: 2.6.1
6+
* Version: 2.7.0
77
* Author: EasyCoder Software
88
* Author URI: https://easycoder.software
99
*/
@@ -16,9 +16,9 @@
1616
add_action('wp_enqueue_scripts', 'easycoder_enqueue_script', 2);
1717
function easycoder_enqueue_script() {
1818
wp_enqueue_script('easycoder_script',
19-
'https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/easycoder.js', array(), '2.6.1');
19+
'https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/easycoder.js', array(), '2.7.0');
2020
// wp_enqueue_script('easycoder_script', 'https://rembrandt.easycoder.software/dist/easycoder.js',
21-
array(), '2.6.1');
21+
array(), '2.7.0');
2222
}
2323

2424
// Set up default plugin and REST scripts

dist/readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ For tutorials and a programmers' reference see our [EasyCoder Software Codex](ht
5454

5555
== Changelog ==
5656

57+
= 2.7.0 04-may 2020 =
58+
* Added 'click left' and 'click top'
59+
5760
= 2.6.1 16-apr 2020 =
5861
* Use CDN to deliver all files
5962

0 commit comments

Comments
 (0)