This file contains hidden or 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
nextStep: function(transport){ | |
jQuery('.checkout-block-button button').mxLoaderOverlay('hide'); | |
jQuery('#shipping-method-please-wait').hide(); | |
if (transport && transport.responseText){ | |
try{ | |
response = eval('(' + transport.responseText + ')'); | |
} | |
catch (e) { | |
response = {}; |
This file contains hidden or 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="how-to-apply"> | |
<h3><?php echo $this->__('How to apply') ?></h3> | |
<ul class="how-to-apply-intructions"> | |
<li>Minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum blandit praesent luptatum zzril delenit augue duis dolore.</li> | |
<li>Iriure dolor in hendrerit in vulputate velit esse molestie consequat.</li> | |
<li>Vel illum dolore eu feugiat nulla facilisis at vero eros. Minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum blandit praesent luptatum zzril delenit augue duis dolore.</li> | |
</ul> | |
</div> |
This file contains hidden or 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 | |
// Initialize | |
$app = new SimpleHttpClient('http://uk.sodastream.int.sessiondigital.com/xmlconnect/'); | |
$app->addCookie('app_code', 'uk_iph6'); | |
$app->addCookie('screen_size', '600x400'); | |
// Get gas cylinder products |
This file contains hidden or 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
package controllers | |
import io.circe.generic.auto._ | |
import io.circe.syntax._ | |
import javax.inject._ | |
import play.api._ | |
import play.api.mvc._ | |
/** | |
* This controller creates an `Action` to handle HTTP requests to the |
This file contains hidden or 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
Compilation error | |
not found: type Circe | |
In /Users/danielk/projects/scala/play-training/app/controllers/HomeController.scala:14 | |
10 * This controller creates an `Action` to handle HTTP requests to the | |
11 * application's home page. | |
12 */ | |
13@Singleton | |
14class HomeController @Inject()(cc: ControllerComponents) extends AbstractController(cc) with Circe { | |
15 |
This file contains hidden or 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
name := """play-training""" | |
organization := "com.example" | |
version := "1.0-SNAPSHOT" | |
lazy val root = (project in file(".")).enablePlugins(PlayScala) | |
scalaVersion := "2.12.6" | |
libraryDependencies += guice |
OlderNewer