This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// possible words | |
var words = ["lazy", "crackers", "hello", "cruel", "world", "bears", "need", "not", "apply"]; | |
// characters | |
var puzzle = " \ | |
r b f x w \ | |
h e l l o \ | |
o a h c r \ | |
c r u e l \ | |
v s u f d \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// possible words | |
var words = ["lazy", "crackers", "hello", "cruel", "world", "bears", "need", "not", "apply"]; | |
// characters | |
var puzzle = " \ | |
r b f x w \ | |
h e l l o \ | |
o a h c r \ | |
c r u e l \ | |
v s u f d \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Intergrates Flex Book web pages | |
* | |
*/ | |
function flex_book_node_view($node) { | |
if($node->type == 'flex_book'){ | |
$load_js = $node->field_load_js;//calls the field and makes it load.js | |
foreach($load_js['und'] as $js_file) { // gets the und from laod.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Intergrates Flex Book web pages | |
* | |
*/ | |
function flex_book_node_view($node, $view_mode ) { | |
if($node->type == 'flex_book'){ | |
$load_js = $node->field_load_js; | |
var_dump($load_js); |