🧙♂️
This file contains hidden or 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
'use strict'; | |
var app = angular.module('demo', ['ngSanitize', 'ui.select']); | |
app.controller('DemoCtrl', function($scope, $http, $timeout) { | |
$scope.disabled = undefined; | |
$scope.searchEnabled = undefined; | |
$scope.enable = function() { | |
$scope.disabled = false; |
This file contains hidden or 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
angular.module('cropAndUpload', [ | |
'angularFileUpload', | |
'ngImgCrop' | |
]) |
This file contains hidden or 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
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> |
This file contains hidden or 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
setTimeout( function() { // code for 1st popup goes here }, 500); | |
setTimeout( function() { // code for 2nd popup goes here }, 1000); | |
setTimeout( function() { // code for 3rd popup goes here }, 1500); |
This file contains hidden or 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
/*! | |
* ui-select | |
* http://github.com/angular-ui/ui-select | |
* Version: 0.8.3 - 2014-11-26T15:06:34.903Z | |
* License: MIT | |
*/ | |
(function () { | |
"use strict"; |
This file contains hidden or 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
/* | |
* dr-svg-sprites | |
* | |
* | |
* Copyright (c) 2013 drdk | |
* Licensed under the MIT license. | |
*/ | |
"use strict"; |
This file contains hidden or 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
from fabric.api import env, run, cd, task, get | |
from fabric.colors import * | |
from time import gmtime, strftime | |
import subprocess, os | |
global tag_time | |
tag_time = strftime("%Y-%m-%d-%H-%M-%S", gmtime()) | |
global www_prod | |
www_prod = '/srv/www' |
This file contains hidden or 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 BFHPhoneFormatList = { | |
'AF': '+93 0dd ddd dddd', | |
'AL': '+355 0dd ddd ddd', | |
'DZ': '+213 0ddd dd dd dd', | |
'AS': '+1 (ddd) ddd-dddd', | |
'AD': '+376 ddddddddd', | |
'AO': '+244 ddd ddd ddd', | |
'AI': '+1 (ddd) ddd-dddd', | |
'AQ': '+672 ddddddddd', | |
'AG': '+1 (ddd) ddd-dddd', |
This file contains hidden or 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
this.theAppName = (function(Backbone, Marionette) { | |
var App; | |
App = new Marionette.Application; | |
App.addRegions({ | |
headerRegion: "#header-region" | |
}); |
This file contains hidden or 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
//assume that Backbone and $ are available as globals | |
//everything in this file will be interpretted as soon as the JS is | |
//loaded by the browser. | |
var MainRouter = require('./2-mainRouter'); //A Backbone Router | |
//doc ready | |
$(function () { | |
router = new MainRouter(); |