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
// Support: http://caniuse.com/promises | |
function Http () { | |
/** | |
* Helper for http calls | |
* @param method | |
* @param url | |
* @param data | |
* @returns {Promise} | |
*/ | |
function makeRequest(method,url,data) { |
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
/// <reference path="../../typings/index.d.ts" /> | |
import vdog = dogsrus.virtdog; | |
describe('In the file masterController.ts', () => { | |
describe('The masterController\'s', () => { | |
let sut: vdog.MasterController, | |
$rootScope: ng.IRootScopeService, | |
$controller: ng.IControllerService, | |
masterControllerParams: { | |
$rootScope: ng.IRootScopeService, |
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 | |
/** DefaultController.php **/ | |
namespace AppBundle\Controller; | |
use AppBundle\Entity\Person; | |
use AppBundle\Service\RequestHandler; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; |