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
/* Vendor dependencies */ | |
@import 'flatui/config'; | |
@import "flatui/flat-ui"; | |
/* Authored dependencies */ | |
@import 'config'; // overrides flat ui config | |
@import "mixins"; | |
/* Patterns / components */ | |
@import 'base'; // base styling (elements, no classes/components) -- also overrides flat ui and deprecates erfpFlatUi.less |
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
it('can export budget level', inject(function(DownloadGeneratedFile, TestToolbox) { | |
var token = 123, | |
downloadUrl = DownloadGeneratedFile.budgetLevel(PROPOSAL_ID, BUDGET_1_ID).url; | |
scope.start_loader = angular.noop; | |
$httpBackend.expectGET(downloadUrl).respond({status: 'pending', token: token}); | |
scope.downloadBudgetLevel(BUDGET_1_ID); | |
TestToolbox.httpBackendFlush($httpBackend); | |
// TODO: Should add more expectations when the DownloadManager is reworked. | |
// expect(_downloader.downloaded.url).toEqualData(); | |
// expect(_mixpanel.analytics.track.eventName).toEqualData('Proposal: download budget level'); |
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 _pageConfirm = { | |
include: 'partials/buyer/rfp-detail/send-confirmation.html', | |
header: 'Confirmation', | |
primary_button: { | |
label: "Done", | |
css_classes: "btn-success" | |
}, | |
do_load: function() { | |
return (($scope.recipientsToNotify.length > 0) || ($scope.recipientsToUpdate.length > 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
(function( window ) { | |
'use strict'; | |
_.templateSettings = { | |
interpolate: /\{\{(.+?)\}\}/g, | |
escape: /\{\{\{(.+?)\}\}\}/g | |
}; | |
/***************************** |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>MediaKit 2012</title> | |
<meta name="description" content=""> |
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
eval(unescape('javascript:var%20s%3Ddocument.createElement(%27script%27)%3Bs.setAttribute(%27src%27,%27http://emuspin.com/js/bookmarklet.js%27)%3Bs.setAttribute(%27type%27,%27text/javascript%27)%3Bdocument.body.appendChild(s)%3Bvoid(0)%3B')) |
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
// Preview button | |
$(document).on('click', '#btn-preview', function (event) { | |
$.when(App._doFormAutosave()).done(function() { | |
// here I want the event to not be prevented | |
}); | |
event.preventDefault(); | |
}); |
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
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
meta: { | |
version: '1.0.0', | |
banner: '/*! GRUPO EXPANSION MEDIAKIT - v<%= meta.version %> - ' + | |
'<%= grunt.template.today("yyyy-mm-dd") %> */\n' //+ | |
// '* http://PROJECT_WEBSITE/\n' + |
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
/* | |
* Parrot Backfill script. | |
*/ | |
'use strict'; | |
var config = require('./config.json'); | |
var db = require('mysql').createConnection(config.db); | |
var twitter = require('tuiter')(config.twitter_api_keys); |
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 View = Base.extend({ | |
initialize: function () { | |
console.log('view init'); | |
if ( ! this.el) { | |
this.el = this.el || document.createElement(this.tagName); | |
} | |
} | |
}); | |
var FilterListView = View.extend({ |
OlderNewer