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
//READ THIS | |
//Step 1. In the meteor project folder create a directry called "packages" (might already be there). | |
// Add a directory inside of this directory called "kendo-ui-pro" | |
//Step 2. Inside of the "kendo-ui-pro" directory create a "package.js" file and fill it with the js code in this gist | |
//Step 3. Drop Kendo UI Pro code inside of the "kendo-ui-pro" directory. | |
// Then make sure the package.js file contains the correct paths to the kendo ui pro code i.e. the correct .js, .css, .png .gif paths etc... | |
// e.g. in this gist my kendo-ui-pro directory contains a directory called, "telerik.kendoui.professional.2015.2.814.commercial" |
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
### Keybase proof | |
I hereby claim: | |
* I am codylindley on github. | |
* I am codylindley (https://keybase.io/codylindley) on keybase. | |
* I have a public key whose fingerprint is 13CB 0DEF D19F 6782 5072 AE1E 46D6 0410 66D5 30D8 | |
To claim this, I am signing this object: |
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 formatUSprice(amount) | |
{ | |
var i = parseFloat(amount); | |
if(isNaN(i)) { i = 0.00; } | |
var minus = ''; | |
if(i < 0) { minus = '-'; } | |
i = Math.abs(i); | |
i = parseInt((i + .005) * 100); | |
i = i / 100; | |
s = new String(i); |
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
// | |
// Automatically calls all functions in APP.init | |
// | |
jQuery(document).ready(function() { | |
APP.go(); | |
}); | |
// | |
// Module pattern: | |
// http://yuiblog.com/blog/2007/06/12/module-pattern/ |
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
dojo.NodeList.prototype.highlight = function(){ | |
this.forEach(function(node){ | |
dojo.style(node, “backgroundColor”, “yellow”); | |
}); | |
return this; | |
} | |
dojo.query(“p”).highlight(); | |
dojo.extend(dojo.NodeList, { | |
highlight: function(color){ | |
// You can accept arguments |
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
arrayUtils = { | |
isString:function(val) {//Returns true if the specified value is a string | |
return typeof val == 'string'; | |
}, | |
remove:function(arr, obj) {//Removes the first occurrence of a particular value from an array. | |
var i = this.indexOf(arr, obj); | |
var rv; | |
if ((rv = i >= 0)) { |
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 splitter="true" region="center" style="overflow: hidden; margin: 0pt; width: 100%; top: 21px; left: 0px; right: 0px; bottom: 0px;" minsize="20" dojotype="mira.AccordionContainer" id="mira_AccordionContainer_0" widgetid="mira_AccordionContainer_0" class="dijitContainer dijitAccordionContainer dijitLayoutContainer dijitBorderContainerNoGutter-child dijitBorderContainerNoGutter-dijitAccordionContainer dijitBorderContainerNoGutterPane" role="tablist"> | |
<div waistate="expanded-false" wairole="tab" class="dijitAccordionTitle miraAccordianTitle" dojoattachevent="onkeypress:_onTitleKeyPress,onfocus:_handleFocus,onblur:_handleFocus,onmouseenter:_onTitleEnter,onmouseleave:_onTitleLeave" dojoattachpoint="titleNode,focusNode" role="tab" aria-expanded="true" id="lhs_list_button" widgetid="lhs_list_button" style="-moz-user-select: none;" aria-selected="true" tabindex="0" aria-labelledby="lhs_list_button_title"><div style="width: 100%;" dojoattachevent="ondijitclick:_onTitleClick"> <span class="dijitTitlePaneTextNod |
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
As the video says, I think your position on the matter is intellectually dishonest. The very origins of the word | |
atheism makes a positive assertion "without gods". Does Hitchens follow your line of reasoning? From what I know | |
of his book, its not a single sentence (or more) requesting proof. | |
Like I've stated, the burden of proof in this case are on both parties because both an atheist and a christian | |
are making claims. Trivial wordings aside. We should set this proof thing aside. I think we agree in theory | |
that if you assert you have a burden of proof requirement. | |
Here a few more comments: |
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
/*recent orders*/ | |
before(function(context) { | |
var email = context.store.get('email'); | |
if(email) { | |
var foo = context.cache(); | |
console.log(foo.recentOrders); | |
if(foo.recentOrders){ | |
context.partial('templates/previous_orders/recent.mustache', PreviousOrdersView(context.cache().recentOrders), function(html) { |
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
/*! | |
* jQuery.preloadImg | |
* description: cache images via $.preloadImg(['src','src']) or $('img').preloadImg() | |
* author: Cody Lindley | |
*/ | |
(function($) { | |
$.preloadImg = function() { | |
$.preloadImg.runLoader(arguments[0]); |
OlderNewer