Follow the steps below to setup a local development environment:
Recommended to download latest XQuartz
| angular.module('services', []) | |
| .factory('State', function ($rootScope) { | |
| 'use strict'; | |
| var state; | |
| var broadcast = function (state) { | |
| $rootScope.$broadcast('State.Update', state); | |
| }; | |
| var update = function (newState) { |
| // Throttle from underscore.js, simplified and deattached | |
| var throttle = function(func, wait) { | |
| var context, args, result; | |
| var timeout = null; | |
| var previous = 0; | |
| var later = function() { | |
| previous = Date.now(); | |
| timeout = null; | |
| result = func.apply(context, args); |
| (function(){ | |
| var button_id = "download" | |
| // include this code in your page | |
| // you must have jQuery installed | |
| // you must have a link element with an id of "download" | |
| // this is limited to only one chart on the page (the first) | |
| function encode_as_link(){ | |
| // Add some critical information |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Пример отображения геометрии - Sputnik Maps JS API</title> | |
| <link rel="stylesheet" href="http://maps-js.apissputnik.ru/v0.3/sputnik_maps_bundle.min.css"/> | |
| <script src="http://maps-js.apissputnik.ru/v0.3/sputnik_maps_bundle.min.js"></script> | |
| <script src="http://maps-js.apissputnik.ru/v0.3/docs/examples/clusters_data.js"></script> |
Follow the steps below to setup a local development environment:
Recommended to download latest XQuartz
| Vue.directive('datepicker', { | |
| bind: function (el, binding, vnode, oldVnode) { | |
| $(el).datepicker({ | |
| onSelect: function (date) { | |
| vnode.context.date = date; | |
| } | |
| }); | |
| }, | |
| update: function (el, binding, vnode, oldVnode) { | |
| $(el).datepicker('setDate', binding.value); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>mvt-styler2</title> | |
| <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/uikit/2.27.2/css/uikit.min.css"/> | |
| <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/uikit/2.27.2/css/components/accordion.min.css"/> | |
| <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/uikit/2.27.2/css/components/sortable.min.css"/> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>SRBL</title> | |
| <script src="http://rubaxa.github.io/Sortable/Sortable.js"></script> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>SRBL</title> | |
| <script src="http://rubaxa.github.io/Sortable/Sortable.js"></script> | |
| <style id="jsbin-css"> | |
| .tile { | |
| margin: 10px 0; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>SRBL</title> | |
| <script src="http://rubaxa.github.io/Sortable/Sortable.js"></script> | |
| <style id="jsbin-css"> | |
| .tile { |