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
<?php | |
// Require the core controller file that you're planning to override | |
require_once('Mage/Customer/controllers/AccountController.php'); | |
// The class name follows this format: | |
// YOURPACKAGE_YOUREXTENSION_COREMODULEFOLDER_CONTROLLERFILENAME | |
// We extend the original Mage_Customer_AccountController class to inherit unused actions and override specific actions | |
class FastDivision_QuickLogin_Customer_AccountController extends Mage_Customer_AccountController | |
{ | |
// Code referenced from AccountController.php |
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
/* | |
Some of these override earlier varien/product.js methods, therefore | |
varien/product.js must have been included prior to this file. | |
*/ | |
Product.Config.prototype.getMatchingSimpleProduct = function(){ | |
var inScopeProductIds = this.getInScopeProductIds(); | |
if ((typeof inScopeProductIds != 'undefined') && (inScopeProductIds.length == 1)) { | |
return inScopeProductIds[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
=font-family($family: "proxima-nova") | |
@if $family == "proxima-nova" | |
font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif | |
@if $family == "freight-sans" | |
font-family: "freight-sans-pro", "Helvetica Neue", Helvetica, Arial, sans-serif |
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
-webkit-mask-image: -webkit-gradient(linear, left 80%, left bottom, from(black), to(rgba(0, 0, 0, 0))); | |
-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(15%, black), color-stop(85%, black), color-stop(100%, rgba(0, 0, 0, 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
<!-- | |
Replace Lines 21-28 in /app/design/frontend/avalanche/default/template/page/html/header.phtml | |
with the following code: | |
--> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; | |
fjs.parentNode.insertBefore(js, fjs); |
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
for selector in str.split(/[\s,+~>]+/) |
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
var util = require('util'), | |
express = require('express'), | |
twitter = require('mtwitter'), | |
nconf = require('nconf'), | |
cache = require('memory-cache'); | |
var port = process.env.PORT || 5000 | |
app = express(); |
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
// Generated on 2014-01-09 using generator-angular 0.6.0 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { |
OlderNewer