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
/************************************************************************* | |
* Copyright 2010 Cayo Systems, Inc. | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. | |
* Author: Jim Pravetz | |
* Date: 2010/11/11 | |
* Language: ActionScript 3.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
<?xml version="1.0" encoding="utf-8"?> | |
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
creationComplete="load()" | |
> | |
<s:VGroup width="100%" height="100%"> | |
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"?> | |
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
xmlns:yahoo="http://www.yahoo.com/astra/2006/mxml" | |
xmlns:local="*"> | |
<fx:Declarations> | |
<s:Parallel id="showRect" | |
duration="400" |
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
#------------------------------------------------------------------------ | |
# encoding: utf-8 | |
# @(#)product_generator.rb 1.00 29-Nov-2011 16:38 | |
# | |
# Copyright (c) 2011 Jim Pravetz. All Rights Reserved. | |
# Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | |
# | |
# Description: A generator that creates product, products and | |
# ingredients pages for jekyll sites. Uses a JSON data | |
# file as the database file from which to read and |
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
export class BusyPromise { | |
/** | |
* Promise wrapper that calls pre and post methods. Can be used to auto increment and decrement a | |
* counter, for example, or to indicate when busy and unbusy. | |
* @param opts {Object} | |
* @param [opts.pre] {Function} Function to execute before calling function | |
* @param [opts.onResolve] {Function} Function to execute after function resolves | |
* @param [opts.onReject] {Function} Function to execute if function rejects | |
* @param fn {function} Same as function in new Promise(fn) |
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 gulp from 'gulp'; | |
import project from '../aurelia.json'; | |
import fs from 'fs'; | |
import Path from 'path'; | |
import util from 'util'; | |
/** | |
* Task generates webpack compatible index.js files under the src/resources folder, | |
* recursively descending and including every file that is found. | |
* To exclude files in a particular folder, add their names to a .resourceignore file in that |