1
Fork 0

JS Formatting

This commit is contained in:
Jake Howard 2015-12-01 08:38:09 +00:00
parent 9550cf65f7
commit 0716316fa2
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
/* global $ */
require('./utils.js');
var React = require('react');

View file

@ -1,4 +1,5 @@
/* global $ */
$(function() { // https://css-tricks.com/snippets/jquery/smooth-scrolling/
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//, '') === this.pathname.replace(/^\//, '')