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
@echo off | |
if .%1. == .. ( | |
echo USAGE: %0 [product name] | |
goto :EOF | |
) | |
set PRODUCT=argos-%1 | |
echo. |
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
(function() { App.preferences.metrics = JSON.parse('{"opportunities":[{"resourceKind":"opportunities","metricTitleText":"Total Won Opportunities","queryName":"executeMetric","queryArgs":{"_filterName":"AccountManager","_metricName":"CountOpportunities","_activeFilter":"Status eq \'Closed - Won\'"},"formatType":"Mobile/SalesLogix/Format","formatFunc":"bigNumber","valueType":"Mobile/SalesLogix/Aggregate","valueFunc":"sum","reportViewId":"","chartType":"bar","metricDisplayName":"Count Opportunities","filterDisplayName":"Account Manager"},{"resourceKind":"opportunities","metricTitleText":"Total Sales","queryName":"executeMetric","queryArgs":{"_filterName":"AccountManager","_metricName":"SumActualAmount","_activeFilter":"Status eq \'Closed - Won\'"},"formatType":"Mobile/SalesLogix/Format","formatFunc":"bigNumber","valueType":"Mobile/SalesLogix/Aggregate","valueFunc":"sum","reportViewId":"","chartType":"bar","metricDisplayName":"Total Actual Amount","filterDisplayName":"Account Manager"},{"resourceKind":"opportunit |
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
#!/bin/bash | |
if [ .$1. == .. ]; then | |
echo "USAGE: $0 [product name]" | |
exit 1 | |
fi | |
PRODUCT=argos-$1 | |
echo |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Web; | |
namespace Sample | |
{ | |
public class CrossOriginSupportModule : IHttpModule | |
{ |
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
formatCuisinePrefs: function(selections) { | |
if (typeof selections === 'string') { | |
return selections; | |
} | |
var values = []; | |
for (var key in selections) { | |
var data = selections[key].data; | |
if (data && data.text) { | |
values.push(data.text); |
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
lang.extend(Mobile.SalesLogix.Views.Account.List, { | |
queryWhere: 'some sdata query' | |
}); |
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
_fillContent: function(/*DomNode*/ source){ | |
// summary: | |
// Relocate source contents to templated container node. | |
// this.containerNode must be able to receive children, or exceptions will be thrown. | |
// tags: | |
// protected | |
var dest, frag, hasChildren; | |
dest = this.containerNode; | |
frag = document.createDocumentFragment(); |
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
using System; | |
namespace Sage.Platform.Application.Caching | |
{ | |
// Summary: | |
// Implementers provides support for caching | |
public interface ICache | |
{ | |
// Summary: | |
// Gets the name of the cache region |
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
Author: Jason Best <skeeterbug@gmail.com> 2012-05-29 17:19:41 | |
Committer: Jason Best <skeeterbug@gmail.com> 2012-05-29 17:19:41 | |
Parent: 1df18a71120094867ec886d7c7c42ad60b378d21 (improve order of boolean expression to make meeting attendees happy; refs #15096; !strict) | |
Child: b1b07083661e2a857dfa0a4a4843b043f3d60ebe (trashme; refs #14092) | |
Branches: SLX8.0, remotes/slx/SLX8.0 | |
Follows: 1.7.2 | |
Precedes: | |
trashme; Fix i18n loader issues with 1.6 build profile. This commit can be trashed when updating to 1.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
_setStore: function(store){ | |
if(this.store && this._store_connects){ | |
array.forEach(this._store_connects, this.disconnect, this); | |
} | |
this.store = store; | |
if(this.store){ | |
var f = this.store.getFeatures(); | |
... |