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
http://wesbos.com/fix-sublime-text-toggle-comment/ | |
The underlying problem is inside the HTML syntax file and it is actually an easy fix. | |
We need to edit the HTML.tmLanguage file that is located in preferences → browse packages → HTML. | |
Open it up and look for a line that looks like the following. It should be around line 286. | |
<string>(?:^\s+)?(<)((?i:script))\b(?![^>]*/>)</string> |
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 angular*/ | |
/* ============================================================================= | |
Tickers panel directives | |
============================================================================= */ | |
(function() { "use strict"; | |
var app = angular.module('tickersPanelDirectives', []) |
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
<section class="panel tickers-panel"> | |
<header class="quick-find"> | |
<ul> | |
<li ng-class="{'active':tickersAll}" | |
ng-click="tickersAll = true; getTickers('all')">All</li> | |
<li ng-class="{'active':!tickersAll}" | |
ng-click="tickersAll = false; getTickers('port')">Port</li> | |
<li><div class="quick-search-ico"></div></li> | |
</ul> |
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 keys = [ | |
{ k: 48, v: '0' }, | |
{ k: 49, v: '1' }, | |
{ k: 50, v: '2' }, | |
{ k: 51, v: '3' }, | |
{ k: 52, v: '4' }, | |
{ k: 53, v: '5' }, | |
{ k: 54, v: '6' }, | |
{ k: 55, v: '7' }, | |
{ k: 56, v: '8' }, |
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 angular*/ | |
/* ============================================================================= | |
Scope factory | stores and retrieves $scopes | |
============================================================================= */ | |
(function() { "use strict"; | |
var app = angular.module('scopeFactory', []) |
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 angular*/ | |
/** ============================================================================ | |
----------------------------------------------------------------------------- */ | |
/** | |
* Main TickerTags Dashboard App module | |
* @namespace Controller | |
* @desc Injects all modules and controls the $rootScope | |
* @summary "Connecting trending social content to investable companies." | |
* @copyright TickerTags 2015 |
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 angular*/ | |
//////////////////////////////////////////////////////////////////////////////// | |
/** | |
* @name getTickersFactory | |
* @namespace Factories | |
* @desc Pulls the tickers list needed (Portfolio / Searched) | |
*/ | |
(function() { | |
'use strict'; |
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 angular*/ | |
//////////////////////////////////////////////////////////////////////////////// | |
/** | |
* @name highChart | |
* @namespace Directive | |
* @desc Displays our custom HighCharts chart | |
*/ | |
(function() { "use strict"; |
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
// If tags, GET tag volume data: | |
if (tags.length > 0) { | |
console.log('tags.length: ',tags.length); | |
for (var i=0; i<tags.length; i++) { | |
var loopStep = i; | |
rawTagData = []; | |
GetTweetVolFactory.returnTweetVol(tags[i].term_id, limit_range) |