Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

[r1-dev] Feature/many markers issue 69 #83

Merged
merged 50 commits into from
Aug 15, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
5fd2919
coffeescript compiling added to Gruntfile with some basic coffee files
nmccready Jul 23, 2013
012aba5
- coffeescript directives.api is running with same functionality that
nmccready Jul 23, 2013
0c07d5e
-seperating functionality of a normal Marker to be inside Marker.coffee
nmccready Jul 23, 2013
84a3358
making the interface less restrictive, and allowing flexibility in how
nmccready Jul 24, 2013
97c52ae
- moved marker options creation to i-marker
nmccready Jul 24, 2013
46e834a
- extracted some functionality from IMarker to MarkerUtil
nmccready Jul 24, 2013
41787c6
markers is compiling \ runnable again
nmccready Jul 24, 2013
72f75fa
Markers directive functioning without InfoWindow!!
nmccready Jul 24, 2013
f500e79
fixing comments, and setting default markers example back to Marker
nmccready Jul 24, 2013
96a387f
example with Markers and Marker
nmccready Jul 24, 2013
780f993
directives.api.
nmccready Jul 24, 2013
e8c2dfa
standalone window working again without templates
nmccready Jul 25, 2013
4b599b8
templated Windows working again
nmccready Jul 25, 2013
72bde1a
window template content fixed. WindowModelFunctions, function now are…
nmccready Jul 25, 2013
c5b4898
save off Windows work[C
nmccready Jul 25, 2013
9fbb99e
Windows mostly working
nmccready Jul 25, 2013
6b843b7
watching models for dynamic updates to recreate markers on the map
nmccready Jul 25, 2013
bc14e11
actually call watchModels
nmccready Jul 25, 2013
47a4c4c
renamed mapCtrl to gMap and removed all gmap that were supposed to be…
nmccready Jul 25, 2013
792d77d
controller communication between Markers and Windows now hands Marker…
nmccready Jul 25, 2013
77cf39e
Forgot to rename markers to markerModels
nmccready Jul 25, 2013
9622735
Window content parsed correctly via delayed interpolation
nmccready Jul 25, 2013
1a93d1a
removed contentKeys as an attribute, we can use Object.Keys to evalua…
nmccready Jul 26, 2013
a37e28c
dynamic example added
nmccready Jul 26, 2013
e37c177
removed as a injected parameter from all directives except map. Now …
nmccready Jul 26, 2013
79dd5fc
setMap(null) for marker removal instead of undefined
nmccready Jul 26, 2013
894c627
fixing linking problems.
nmccready Jul 28, 2013
2cd90a5
mostly everything appears to be working
nmccready Jul 28, 2013
c16aadb
merging updates from r1-dev
nmccready Jul 29, 2013
6c06530
turning logging on for the example
nmccready Jul 29, 2013
6ebe34b
clicking and show working for Markers and Windows
nmccready Jul 29, 2013
df9dc3b
If any key changes occur in MarkersParentModel, then the entire chil…
nmccready Jul 29, 2013
b1482e6
watching scopes in markers, imarkerparentmodel now using OnWatch to r…
nmccready Jul 29, 2013
b4380bf
Detaching model(s) rebuilding of all children on simple updates.
nmccready Jul 29, 2013
dff6e2e
having MarkersChildModel watch it's relevant model within its own scope.
nmccready Jul 29, 2013
34c80c1
update scope coords and icon correctly in markerchildmodel
nmccready Jul 29, 2013
ab3e8db
wrapping scope.clicks in per @asabourin
nmccready Jul 30, 2013
a671264
merge from upstrean r1-dev
nmccready Jul 30, 2013
9386f41
Updates from my repository feature/many_markers
nmccready Aug 1, 2013
8a99bec
updates from r1-dev main stream
nmccready Aug 7, 2013
b001fc3
updates from mccready's repository for the coffeescript branch
nmccready Aug 7, 2013
81cfded
removed a dead directory as it has been replaced by the js/directives…
nmccready Aug 8, 2013
74446cf
Merge remote-tracking branch 'myupstream/feature/many_markers_issue_6…
nmccready Aug 8, 2013
decf5c6
merge from mccreadys repo
nmccready Aug 8, 2013
e6b033b
merge from issue_90 feature
nmccready Aug 8, 2013
99be652
AsyncProcessor to churn LargeArrays in chunks with timeouts to free t…
nmccready Aug 14, 2013
d703de4
This speeds things up a lot with no child scopes in markers
nmccready Aug 14, 2013
6285977
readded bigGulp for AsyncProcessor as it helps allow other things to …
nmccready Aug 15, 2013
d0fafb8
merge of feature/speed
nmccready Aug 15, 2013
af5bea7
Merged the beast, and fixed errors in the polygon updates. Remember g…
nmccready Aug 15, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.DS_Store
/.settings
/.project
node_modules
old/
tmp/
*~
app/components
app/components
/nbproject
72 changes: 50 additions & 22 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-open');
grunt.loadNpmTasks('grunt-mkdir');
grunt.loadNpmTasks('grunt-contrib-coffee');


// Project configuration.
grunt.initConfig({

pkg: grunt.file.readJSON('package.json'),

clean: {
coffee: ['tmp/output_coffee.js'],
dist: ['dist/*', 'tmp'],
example: ['example/<%= pkg.name %>.js']
},
Expand All @@ -29,33 +32,57 @@ module.exports = function(grunt) {
}
}
},

coffee: {
compile: {
files: {
'tmp/output_coffee.js':
['src/coffee/*.coffee',
'src/coffee/oo/ng-gmap-module.coffee',
'src/coffee/oo/base-object.coffee',
'src/coffee/directives/api/utils/*.coffee',
'src/coffee/directives/api/models/child/*.coffee',
'src/coffee/directives/api/models/parent/*.coffee',
'src/coffee/directives/api/*.coffee',
'src/coffee/directives/*.coffee'] // concat then compile into single file
}
}
},

concat: {
options: {
separator: ';'
},
dist: {
src: ['src/module.js',
'src/controllers/polyline-display.js',
'src/utils/LatLngArraySync.js',
'src/utils/MapEvents.js',
'src/directives/map.js',
'src/directives/marker.js',
'src/directives/polyline.js',
'src/directives/window.js',
'src/directives/trafficlayer.js'],
src: ['src/js/module.js',
'tmp/output_coffee.js',
'src/js/utils/LatLngArraySync.js',
'src/js/utils/MapEvents.js',
'src/js/controllers/polyline-display.js',
'src/js/directives/map.js',
'src/js/directives/marker.js',
'src/js/directives/markers.js',
'src/js/directives/polygon.js',
'src/js/directives/polyline.js',
'src/js/directives/window.js',
'src/js/directives/windows.js',
'src/js/directives/trafficlayer.js'],
dest: 'tmp/output.js'
},
example: {
src: ['src/module.js',
'src/controllers/polyline-display.js',
'src/utils/LatLngArraySync.js',
'src/utils/MapEvents.js',
'src/directives/map.js',
'src/directives/marker.js',
'src/directives/polyline.js',
'src/directives/window.js',
'src/directives/trafficlayer.js'],
src: ['src/js/module.js',
'tmp/output_coffee.js',
'src/js/utils/LatLngArraySync.js',
'src/js/utils/MapEvents.js',
'src/js/controllers/polyline-display.js',
'src/js/directives/map.js',
'src/js/directives/marker.js',
'src/js/directives/markers.js',
'src/js/directives/polygon.js',
'src/js/directives/polyline.js',
'src/js/directives/window.js',
'src/js/directives/windows.js',
'src/js/directives/trafficlayer.js'],
dest: 'example/<%= pkg.name %>.js'
}
},
Expand All @@ -82,7 +109,7 @@ module.exports = function(grunt) {
},

jshint: {
all: ['Gruntfile.js', 'src/**/*.js', 'test/**/*.js']
all: ['Gruntfile.js', 'src/js/**/*.js', 'test/js/**/*.js']
},

test: {
Expand All @@ -92,9 +119,9 @@ module.exports = function(grunt) {
watch: {
all: {
options: { livereload: true },
files: ['src/**/*.js'],
tasks: ['clean:example', 'concat:example']
}
files: ['src/js/**/*.js','src/coffee/**/*.coffee','src/coffee/*.coffee'],
tasks: ['clean:example','coffee','concat:example'],
},
},

open: {
Expand Down Expand Up @@ -122,6 +149,7 @@ module.exports = function(grunt) {
'test',
'jshint',
'mkdir',
'coffee',
'concat:dist',
'copy:dist',
'uglify']);
Expand Down
Loading