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
angular.module('myApp').service('greeterService', | |
['$log', function($log) { | |
var namesSpokenTo = []; | |
this.sayHello: function(name) { | |
namesSpokenTo.push(name); | |
$log.debug('hello, ' + name); | |
}; | |
this.getNames = function() { | |
return angular.copy(namesSpokenTo); | |
}; |
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
import org.springframework.test.context.ContextConfiguration | |
import org.test.spock.model.Course | |
import javax.persistence.PersistenceContext | |
import javax.persistence.EntityManager | |
import org.junit.runner.RunWith | |
import org.spockframework.runtime.SpockRuntime | |
import org.springframework.beans.factory.annotation.Autowired | |
import org.springframework.context.ApplicationContext | |
import org.springframework.test.annotation.Rollback | |
import org.springframework.transaction.annotation.Transactional |
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> | |
<label for="maxcap">Max Capacity : </label> | |
<form:input path="maximumCapacity" | |
id="maxcap" /> | |
<script type="text/javascript"> | |
dojo.require("dijit.form.NumberSpinner"); | |
dojo.addOnLoad(function() { | |
var maxCapSpinner = | |
new dijit.form.NumberSpinner({ | |
smallDelta: 1, |
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-site-plugin</artifactId> | |
<version>3.0</version> | |
<configuration> | |
<reportPlugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-project-info-reports-plugin</artifactId> | |
<version>2.2</version> |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<!-- saved from url=(0047)http://www.eclipse.org/legal/epl/longabout.html --> | |
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<TITLE>About</TITLE> | |
</HEAD><BODY lang="EN-US"> | |
<H2>About This Content</H2> | |
<P><<EM>insert current release date here, e.g., June 5, 2007</EM>></P> | |
<H3>License</H3> |
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
package org.rooinaction.coursemanager.web; | |
import java.util.concurrent.TimeUnit; | |
import org.junit.Assert; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.firefox.FirefoxDriver; |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.chariot.games.quizzo</groupId> | |
<artifactId>quizinator</artifactId> | |
<packaging>war</packaging> | |
<version>0.1.0.BUILD-SNAPSHOT</version> | |
<name>quizinator</name> | |
<properties> | |
<aspectj.version>1.6.12</aspectj.version> |
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
<jsp:root | |
xmlns:jsp="http://java.sun.com/JSP/Page" | |
xmlns:c="http://java.sun.com/jsp/jstl/core" | |
xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:tiles="http://tiles.apache.org/tags-tiles" | |
xmlns:spring="http://www.springframework.org/tags" | |
xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" | |
version="2.0"> | |
<jsp:directive.page contentType="text/html" pageEncoding="UTF-8"/> |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.sillyweasel.addons.jqueryui</groupId> | |
<artifactId>org.sillyweasel.addons.jqueryui</artifactId> | |
<packaging>bundle</packaging> | |
<version>0.9.9</version> | |
<name>jqueryui</name> | |
<organization> | |
<name>Silly Weasel</name> |
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
package com.t.coursemanager.web; | |
import static org.hamcrest.MatcherAssert.assertThat; | |
import static org.hamcrest.Matchers.is; | |
import static org.hamcrest.Matchers.notNullValue; | |
import org.apache.log4j.Logger; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; |
OlderNewer