- Ubuntu 14.04 LTS x64
- Java 1.7
- Jenkins 1.639
- NodeJS plugin 0.2.1
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 play.api.mvc._ | |
| import scala.concurrent._ | |
| import akka.actor.{Props, Actor} | |
| import play.api.Play.current | |
| import play.api.libs.concurrent.Akka | |
| import scala.concurrent.ExecutionContext.Implicits._ | |
| object Application extends Controller { |
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
| // Usage | |
| import React from 'react'; | |
| injectLogger(React.Component); | |
| // You can also make it specific to just a component | |
| class App extends React.Component {} | |
| injectLogger(App); | |
| // Injecting logger will add additional boolean param to setState. | |
| // Set this to true to perform setState logging |