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
<px:keymap map="shipping" key="StandardGround">SG</px:keymap> | |
<px:keymap map="shipping" key="Overnight">ON</px:keymap> | |
<shipping> | |
<px:replace map="shipping"><px:shipping_method /></px:replace> | |
</shipping> | |
<!-- OR the following --> |
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
{ | |
"_links": { | |
"self": { "href": "/todo-list" }, | |
"search": { "href": "/todo-list/search;{searchterm}" }, | |
"description": { "href": "/todo-list/description" } | |
}, | |
"_embedded": { | |
"item": [ | |
{ | |
"_links": { |
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
function ajaxSuccess(execution) { | |
var original_ajax = $j.ajax | |
$j.ajax = function(options) { | |
var response = JSON.parse( ajaxFixtures[options.url] || '{}' ); | |
options['success'].call(this, response) | |
}; | |
execution.call(this); | |
console.log('pong'); | |
$j.ajax = original_ajax; | |
} |