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 openWindowsAndRedirectTo(windows, url) { | |
var _windows = windows, | |
_len = function() { _windows.length; }; | |
for( var i = 0, len = _len(); i < len; i++ ) { | |
_windows[i] = { | |
url: _windows[i], | |
instance: null | |
}; | |
_windows[i].instance = window.open(_windows[i]); |
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
html, body{ | |
height:150%; | |
} | |
.floating-isi { | |
background: #85144B; | |
position:fixed; | |
bottom:0; | |
height:30%; | |
color:White; |
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
// | |
// BiDirectional Style Helper | |
// @description This mixin is designed to flip the property for right to left languages when needed. | |
// Determiniation of which style is included in the generated CSS is controled by a global variable to set the language direction. | |
// | |
// @param $property The LTR css property to set | |
// @param $value The value to use for the LTR css property | |
// @param $inverse-property (optional) The RTL css property to set (e.g. margin-right instead of margin-left). | |
// @param $inverse-value (optional) The RTL value of the $inverse-property (if set), or of the LTR css $property. | |
// @param $default-value (optional) The default LTR value for $property. This is required if $inverse-property is different than $property. |
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
@include 'compass'; | |
@include 'breakpoint'; | |
// | |
// Note all breakpoints are specified in Pixels, but Breakpoint will convert this to EMs for us. | |
// | |
$breakpoint-to-ems: true; | |
@mixin at-mobile-breakpoint() { |
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
@import "susy"; | |
// All of the em-based layouts assume 16 pixels as base font size | |
// Mobile First (i.e. Default Grid Settings) | |
$total-columns : 4; // 4 columns on mobile | |
$column-width : 4.25em; // ~= 68 pixels | |
$gutter-width : 1em; // ~= 16 pixel wide gutter between mobile columns | |
$grid-padding : 0; // No Padding with susy |
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
module.exports = { | |
reporter: function (res) { | |
var len = res.length; | |
var str = ""; | |
res.forEach(function (r) { | |
var file = r.file; | |
var err = r.error; | |
str += file + ":" + err.line + ": error: " + err.reason + "\n"; |
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
[global::System.Configuration.ApplicationScopedSettingAttribute()] | |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |
[global::System.Configuration.DefaultSettingValueAttribute(@"{""values"":[""sitecore/data"", ""/sitecore/web/client specific pages}")] | |
public IEnumerable<string> SiteSearchExclusionPaths | |
{ | |
get | |
{ | |
JObject o = JObject.Parse((string) this["SiteSearchExclusionPaths"]); | |
return (IEnumerable<string>)((JArray)o["values"]).AsEnumerable(); | |
} |
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
-(void) resetPersistentStore | |
{ | |
NSURL* storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"Model.sqlite"]; | |
NSPersistentStore* store = [_persistentStoreCoordinator persistentStoreForURL:storeURL]; | |
NSError* error = nil; | |
[_persistentStoreCoordinator removePersistentStore:store error:&error]; | |
if (error) { |
NewerOlder