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
[credential] | |
helper = store | |
[init] | |
defaultBranch = master | |
[core] | |
whitespace = fix,-indent-with-non-tab,space-before-tab,trailing-space,cr-at-eol | |
autocrlf = input | |
filemode = false |
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
window.NutformsRules.modelBuildCallback = (model) => { | |
// Fetch rules from server | |
let rawRules = fetchRules(model.entityName, model.context); | |
// Translate rules to JS | |
let rules = translateRulesToJS(rawRules); | |
// Register listeners to attributes | |
Object.keys(rules).forEach((attributeName) => { | |
model.attribute[attributeName].listen("value-changed", (attribute) => { |
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
<div class="container"> | |
<form class="form" role="form" nutform:entity-form="cz.cvut.fel.nutforms.example.model.Bug:edit:1"> | |
<!-- The form is automagically generated here --> | |
</form> | |
</div> |
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
class FooEntity implements Entity | |
{ | |
// ... data ... | |
public function acceptEntityVisitor(EntityVisitor $visitor) | |
{ | |
$visitor.visitFooEntity($this); | |
} |
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 | |
namespace Test\Presenters\AdminModule; | |
use Tester; | |
use Tester\Assert; | |
use DesiredCapabilities; | |
use RemoteWebDriver; | |
use WebDriverBy as By; |
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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eget tortor sit amet augue blandit ultricies. Aenean nec justo sed metus dapibus fermentum. Integer cursus sapien sit amet dolor maximus, eget vehicula nisl. `-p hhvm`. |