Skip to content

Version update #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Version update
  • Loading branch information
graham-trott committed May 5, 2020
commit 1fb871350895dacb271d82099f8b65f6882dd72c
26 changes: 13 additions & 13 deletions dist/easycoder-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions dist/easycoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -6047,12 +6047,16 @@ const EasyCoder_Browser = {

getCoord: (compiler, type, offset) => {
if (compiler.nextTokenIs(`of`)) {
if (compiler.nextTokenIs(`window`)) {
if (compiler.nextTokenIs(`the`)) {
compiler.nextToken();
}
const symbol = compiler.getToken();
if ([`window`, `viewport`].includes(symbol)) {
compiler.next();
return {
domain: `browser`,
type,
symbol: `window`,
symbol,
offset
};
}
Expand Down Expand Up @@ -8363,7 +8367,7 @@ const EasyCoder = {
}
},
};
EasyCoder.version = `2.6.1`;
EasyCoder.version = `2.7.0`;
EasyCoder.timestamp = Date.now();
console.log(`EasyCoder loaded; waiting for page`);

Expand Down
6 changes: 3 additions & 3 deletions dist/easycoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: EasyCoder
* Plugin URI: https://easycoder.software
* Description: Control the appearance and behavior of your posts and pages by embedding simple English-like scripts, without the need to learn JavaScript.
* Version: 2.6.1
* Version: 2.7.0
* Author: EasyCoder Software
* Author URI: https://easycoder.software
*/
Expand All @@ -16,9 +16,9 @@
add_action('wp_enqueue_scripts', 'easycoder_enqueue_script', 2);
function easycoder_enqueue_script() {
wp_enqueue_script('easycoder_script',
'https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/easycoder.js', array(), '2.6.1');
'https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/easycoder.js', array(), '2.7.0');
// wp_enqueue_script('easycoder_script', 'https://rembrandt.easycoder.software/dist/easycoder.js',
array(), '2.6.1');
array(), '2.7.0');
}

// Set up default plugin and REST scripts
Expand Down
3 changes: 3 additions & 0 deletions dist/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ For tutorials and a programmers' reference see our [EasyCoder Software Codex](ht

== Changelog ==

= 2.7.0 04-may 2020 =
* Added 'click left' and 'click top'

= 2.6.1 16-apr 2020 =
* Use CDN to deliver all files

Expand Down
Loading