Skip to content

Commit

Permalink
Clean up files, add samples, adjust gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
gmariani committed Aug 20, 2018
1 parent 9a350a4 commit acda4bf
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 42 deletions.
Binary file not shown.
Binary file added SOL Samples/JY1.sol
Binary file not shown.
3 changes: 1 addition & 2 deletions app/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
url(https://fonts.gstatic.com/s/lato/v11/9k-RPmcnxYEPm8CNFsH2gg.woff)
format('woff');
src: local('Lato Regular'), local('Lato-Regular'),
url('https://mariani.life/projects/minerva/font/Lato-Regular.woff')
format('woff');
url('../font/Lato-Regular.woff') format('woff');
unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02c6, U+02da, U+02dc,
U+2000-206f, U+2074, U+20ac, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
Expand Down
40 changes: 0 additions & 40 deletions app/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,20 +347,6 @@ $(function() {
);
}

// Alert Chrome x64 users of issues - Fixed in v56+
// Chrome x64 dies when using Array.apply on large array
// https://code.google.com/p/chromium/issues/detail?id=252492
if (
navigator.userAgent.indexOf('x64') != -1 &&
navigator.userAgent.indexOf('Chrome') != -1 &&
parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2], 10) <
56
) {
msg_array.push(
'<p>Hello Chrome x64 user, please be aware that Chrome x64 below version 56 does not handle converting large arrays within web workers. It will error out before completing, leaving you with an empty file. Please use either Firefox, Chrome x32, or another modern browser until this bug is fixed. <a style="text-decoration:underline;" href="https://code.google.com/p/chromium/issues/detail?id=252492" target="_blank" rel="noopener">Chrome Bug #252492</a></p>'
);
}

if (msg_array.length > 0) Alert.show(msg_array.join('<hr/>'), Alert.NOTICE);

// Pinned Site detection
Expand All @@ -379,32 +365,6 @@ $(function() {
// Site mode is not supported.
}

// Periodically reload Google Ads
/*console.info('start ad');
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function() {
console.info('define ad');
// Define the ad slot
var slot1 = googletag
.defineSlot('3734585686/', [728, 90], 'leaderboard')
.addService(googletag.pubads());
// Start ad fetching
googletag.enableServices();
googletag.display('leaderboard');
// Set timer to refresh slot every 30 seconds
setInterval(function() {
console.info('refresh ad');
googletag.pubads().refresh([slot1]);
}, 30000);
});*/

/*
<ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-4393629565174725" data-ad-slot="3734585686">Ad</ins>
*/

////////////////
// Navigation //
////////////////
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ gulp.task('fix-js', function() {
gulp.task('fix-css', function() {
gulp.src(['dist/css/bundle.css'])
.pipe(replace('url(img/', `url(${cdnPath}img/`))
.pipe(replace('url(\'../', `url(${cdnPath}/`))
.pipe(gulp.dest('dist/css'));
});

Expand Down

0 comments on commit acda4bf

Please sign in to comment.