Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
[#753] Add static assets and bower components
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Sep 7, 2016
1 parent 6e368d0 commit 127ca11
Show file tree
Hide file tree
Showing 470 changed files with 147,219 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .bowerrc
@@ -0,0 +1,3 @@
{
"directory": "census/static/bower_components/"
}
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -13,3 +13,4 @@ sandbox/*
.DS_Store
npm-debug.log
coverage/*
.sass-cache/
35 changes: 35 additions & 0 deletions bower.json
@@ -0,0 +1,35 @@
{
"name": "census-mockup",
"homepage": "https://github.com/okfn/census-mockup",
"authors": [
"Sam Smith"
],
"description": "",
"main": "",
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"jquery": "<3",
"bootstrap-sass": "^3.3.6",
"font-awesome": "fontawesome#^4.6.3",
"requirejs": "^2.2.0",
"domReady": "^2.0.1",
"tablesorter": "*",
"sticky-kit": "^1.1.2",
"leaflet": "0.7.3",
"chroma-js": "0.6.1",
"pubsub-js": "1.5.0",
"lodash": "2.4.1",
"html5shiv": "^3.7.3",
"marked": "^0.3.5",
"Leaflet.label": "^0.2.1",
"jQuery.dotdotdot": "^1.8.3"
}
}
14 changes: 14 additions & 0 deletions census/static/bower_components/Leaflet.label/.bower.json
@@ -0,0 +1,14 @@
{
"name": "Leaflet.label",
"homepage": "https://github.com/Leaflet/Leaflet.label",
"version": "0.2.1",
"_release": "0.2.1",
"_resolution": {
"type": "version",
"tag": "0.2.1",
"commit": "90ed880773bd64723621a666e74a4f6730aea41c"
},
"_source": "https://github.com/Leaflet/Leaflet.label.git",
"_target": "^0.2.1",
"_originalSource": "Leaflet.label"
}
22 changes: 22 additions & 0 deletions census/static/bower_components/Leaflet.label/.gitattributes
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
167 changes: 167 additions & 0 deletions census/static/bower_components/Leaflet.label/.gitignore
@@ -0,0 +1,167 @@

#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
**/[Dd]ebug/
**/[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
**/*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#**/packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini

# Node modules used during build
node_modules/

#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
#dist
#build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
69 changes: 69 additions & 0 deletions census/static/bower_components/Leaflet.label/CHANGELOG.md
@@ -0,0 +1,69 @@
Leaflet.draw Changelog
======================

## master

An in-progress version being developed on the master branch.

## 0.2.1 (December 13, 2013)

### Plugin improvements

* Improved performance when setting label content.

### Bug fixes

* Fixed issue where labels could appear blurry after zoom.

## 0.2.0 (August 20, 2013)

### Plugin improvements

* Removed need to call `showLabel` when adding a static label to the map.
* Added support for changing the direction of the label in relation to the marker. Added auto mode that switches depending on which side of the screen you are on. (adapted from [@erictheise](https://github.com/erictheise) pull request) [#17](https://github.com/Leaflet/Leaflet.label/pull/17)
* Added `labelAnchor` option to `L.CircleMarker`.

### Bug fixes

* Fix bug where map view hard reset did not update labels. (by [@dagjomar](https://github.com/dagjomar)). [#43](https://github.com/Leaflet/Leaflet.label/pull/43)
* Fix issue where non static labels would remain visible if the latlng of the marker changed.

## 0.1.4 (August 20, 2013)

### Bug fixes

* Fixed error in IE < 9 when trying to set the label z-index. (by [@arthur-e](https://github.com/arthur-e)). [#13](https://github.com/Leaflet/Leaflet.label/pull/25)
* Fixed an issue when removing the click handler from the container to close labels in touch devices.

## 0.1.3 (May 02, 2013)

### Plugin improvements

* Added method `L.Marker.setLabelNoHide()` to allow toggling of static marker labels. (inspired by [@kpwebb](https://github.com/kpwebb)). [#20](https://github.com/Leaflet/Leaflet.label/pull/20)
* Non-static labels will now hide when map container is tapped on touch devices. (by [@snkashis](https://github.com/snkashis)). [#26](https://github.com/Leaflet/Leaflet.label/pull/26)
* Added ability to set the opacity of the label along with the marker. (inspired by [@snkashis](https://github.com/snkashis)). [#20](https://github.com/Leaflet/Leaflet.label/pull/27)
* Added support for mouse event to L.Label.
* Added public getter to L.Marker to retrieve the label associated to a marker.

### Bug fixes

* Fixed labels not updating position after being dragged. (by [@snkashis](https://github.com/snkashis)). [#13](https://github.com/Leaflet/Leaflet.label/pull/13)
* Z-Index fixes aimed at static labels. This will ensure that label is shown at the same level as the marker.
* Correctly remove event listeners in Marker.Label and Path.Label.

## 0.1.1 (December 10, 2012)

### Plugin improvements

* FeatureGroup now supports label methods.

### Bug fixes

* Fixed bug where label wouldn't hide when unbindLabel was called.
* Fixed Multi-Poly support.
* Fixed bug where a label's position wouldn't be updated when a marker moved.
* Fixed bug where label wouldn't be removed from map when a marker was.

## 0.1.0 (October 7, 2012)

Initial version of Leaflet.label
21 changes: 21 additions & 0 deletions census/static/bower_components/Leaflet.label/Jakefile.js
@@ -0,0 +1,21 @@
/*
Leaflet.label building and linting scripts.
To use, install Node, then run the following commands in the project root:
npm install -g jake
npm install uglify-js
npm install jshint
To check the code and build Leaflet.label from source, run "jake"
*/

var build = require('./build/build.js');

desc('Check Leaflet.label source for errors with JSHint');
task('lint', build.lint);

desc('Combine and compress Leaflet.label source files');
task('build', ['lint'], build.build);

task('default', ['build']);
20 changes: 20 additions & 0 deletions census/static/bower_components/Leaflet.label/MIT-LICENCE.txt
@@ -0,0 +1,20 @@
Copyright 2012 Jacob Toye

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit 127ca11

Please sign in to comment.