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
[WebMethod] | |
public static String GetTopDocuments(string SearchText, string RelativeSearchPath, string ResourceTypes, string LinkedListUrl, string Program) | |
{ | |
if (SPUtility.ValidateFormDigest()) | |
{ | |
string siteUrl = SPContext.Current.Site.Url; | |
if (!string.IsNullOrEmpty(Program)) | |
{ | |
Program = string.Format(@" Program:""{0}"" ", Program); |
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
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
var x = { | |
y: 1 | |
} | |
undefined | |
var x = { | |
y.property: 1 | |
} | |
VM953:3 Uncaught SyntaxError: Unexpected token . | |
var x = { | |
y: { |
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="timer-wrapper"> | |
<input type="text" value="0" class="dial"> | |
<a class="start-pause" href="#"><i class="fa fa-play"></i></a> | |
<a class="reset" href="#"><i class="fa fa-trash"></i></a> | |
<a class="mute" href="#"><i class="fa fa-volume-up"></i></a> | |
</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
(function($) { | |
$(document).ready(function() { | |
var dial = $('.dial'); | |
var startPauseBtn = $('.start-pause'); | |
var reset = $('.reset'); | |
var mute = $('.mute'); | |
var multi = 0; | |
var flipCounter = 0; |
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
$(document).ready(function() { | |
var dial = $('.dial'); | |
var startPauseBtn = $('.start-pause'); | |
var reset = $('.reset'); | |
var multi = 0; | |
var flipCounter = 0; | |
var text | |
, timer | |
, lastTime |
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
setTimeout(function() { | |
$(document).ready(function() { | |
var dial = $('.dial'); | |
var startPause = $('.start-pause'); | |
var reset = $('.reset'); | |
var multi = 0; | |
var flipCounter = 0; | |
var text | |
, timer |
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
HaltonApp.controller('SiteLocatorController', function ($scope, $http) { | |
$scope.loaded = false; | |
$scope.getSiteLocation = function (address) { | |
if (!window.XDomainRequest) { | |
$http | |
.get('http://maps.googleapis.com/maps/api/geocode/json?address=' + address) | |
.success(function (api) { | |
$scope.api = api.results[0]; | |
google.maps.event.addDomListener(window, 'load', initialize($scope.api)); | |
}); |
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
function dateRange () { | |
return function(items, from, to) { | |
if (items != null) { | |
var inRange = []; | |
angular.forEach(items, function(item) { | |
if (from < item.created && item.created < to) { | |
inRange.push(item); | |
} | |
}); | |
return inRange; |
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
reset() | |
* | |
box-sizing border-box | |
html, body | |
height 100% | |
a | |
cursor pointer |