Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Add JavaScript flag support #40

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jonny-bull
Copy link
Contributor

Addresses #14

Allows for use of the same flagpole_flag_enabled function in JavaScript as used in PHP.

Also some minor PHPCS fixes to the flagpole.php file.

@jonny-bull jonny-bull force-pushed the javascript-flags branch 2 times, most recently from a13f535 to 577e14c Compare August 2, 2021 13:30
@jamesrwilliams
Copy link
Owner

Hey @jonny-bull thanks again for putting your time and effort into this PR. Looks awesome and I think it is a super useful feature addition so thank you!

My only question is around if we want to "offically" bump the minimum PHP version up in flagpole.php#L17 to match the new syntax used in includes/javascript/class-javascript.php. (Mentioned also in #41 (comment))

@jonny-bull
Copy link
Contributor Author

Just like on the other PR, apologies for the delay but this is updated to support PHP 5.6

@jonny-bull jonny-bull force-pushed the javascript-flags branch 2 times, most recently from f736556 to 20cf02f Compare September 20, 2021 09:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants