If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="UTF-8"> | |
<title>Drawing Tools</title> | |
<script type="text/javascript" | |
src="http://maps.google.com/maps/api/js?sensor=false&libraries=drawing"></script> | |
<style type="text/css"> | |
#map, html, body { |
<?php | |
date_default_timezone_set('Europe/London'); // Set this to your local timezone - http://www.php.net/manual/en/timezones.php | |
/** | |
* The root directory where the repos live. | |
* | |
* @var string | |
*/ | |
$root_dir = '/your/root/dir/'; |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
Why would you want to do this? Because you often don't need more. It's nice to not have to think about your "router" as this big special thing.
Instead, with this approch, your app's current pathname
is just another piece of state, just like anything else.
This also means that when doing server-side rendering of a redux app, you can just do:
var app = require('your/redux/app')
var React = require('react')
{ | |
"Seti_SB_bright": true, | |
"Seti_SB_med": true, | |
"Seti_bold_slctdfile_labels": true, | |
"Seti_no_bar_undertabs": false, | |
"Seti_orange_button": true, | |
"Seti_orange_label": true, | |
"Seti_sb_no_icons": false, | |
"Seti_show_group_arrows": true, | |
"Seti_orange_button":true, |
Right now I am working on a project where I am using bootstrap 3 and skrollr, it did not make my life harder, just use skrollr like you would use it normally, still pay attention when you rewrite the css. What I suggest for the mobile version is to turn skrollr off and make it a static website, and also don`t manually type the data attributes in the markup, use javascript for it. if you use javascript you can recalculate the the value you give in the data attribute when the window is resized.
//used to set dynamically the attributes for animations
var setSkrollr = function($el, data) {
// loop all data entries (scroll positions + css property & value)
for (var i = 0, l = data.length; i < l; i++) {
// the current data entry
var d = data[i]
var tools = {
/**
* @param el is the rect element ex $('.rect')
*/
getRectLength: function(el) {
var w = el.attr('width');
var h = el.attr('height');
return (w * 2) + (h * 2);
},