overlay_me 0.12.1 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -4
- data/javascripts/basics.js.coffee +6 -2
- data/javascripts/lib/underscore.js +409 -157
- data/javascripts/menu.js.coffee +2 -1
- data/javascripts/mixins/hideable.js.coffee +17 -4
- data/javascripts/mixins/storable.js.coffee +4 -0
- data/javascripts/overlays/image.js.coffee +7 -5
- data/javascripts/overlays/images_container.js.coffee +52 -13
- data/javascripts/overlays/images_directory.js.coffee +46 -0
- data/javascripts/overlays/images_mngt_div.js.coffee +0 -27
- data/javascripts/overlays.js.coffee +40 -2
- data/lib/overlay_me/version.rb +2 -2
- data/lib/overlay_me.rb +1 -1
- data/overlay_me.css +85 -40
- data/overlay_me.js +699 -246
- data/stylesheets/overlay_me.css.scss +47 -7
- data/vendor/assets/javascripts/overlay_me/overlay_me.min.js +54 -28
- metadata +7 -9
- data/demo_page.html +0 -33
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### 0.13.0 - [Diff](https://github.com/frontfoot/overlay_me/compare/v0.12.1...v0.13)
|
2
|
+
- multi/sub directories images can be added !
|
3
|
+
- updated style and collapsing events
|
4
|
+
|
1
5
|
### 0.12.1 - [Diff](https://github.com/frontfoot/overlay_me/compare/v0.12.0...v0.12.1)
|
2
6
|
- renamed embeded jQuery to OMjQuery ($o) to remove conflicts
|
3
7
|
- removed images from the DOM if not checked (removed 'hide inactives' option)
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
## Use it now!
|
2
2
|
|
3
|
-
Store the bookmarklet from [this page](http://
|
3
|
+
Store the bookmarklet from [this page](http://frontfoot.github.com/overlay_me/demo_page.html) and load OverlayMe on top of any web page!
|
4
4
|
|
5
5
|
If you just want download the compiled, minified archive: [overlay_me.min.js](https://raw.github.com/frontfoot/overlay_me/master/vendor/assets/javascripts/overlay_me/overlay_me.min.js) (CSS embedded!)
|
6
6
|
|
@@ -31,17 +31,19 @@ We were struggling to see the gap between designers photoshop files and our HTML
|
|
31
31
|
|
32
32
|
## Todo
|
33
33
|
|
34
|
+
- fix styles for firefox
|
34
35
|
- allow local image uploading (hosting on amazon s3 ?), [makiapp.com](http://makiapp.com/) does it!
|
36
|
+
- add another dragging bar at the bottom (or not)
|
37
|
+
- prevent the dragging bar(s) to be out of reach
|
35
38
|
- overlays
|
36
39
|
- make a cycling system, by click or keypress, to iterate through overlays one by one
|
37
|
-
- images sub-sets (sub-directories) should appear as nestable blocks
|
38
40
|
- write some tests !!!
|
39
41
|
|
40
42
|
|
41
43
|
|
42
44
|
## Usage
|
43
45
|
|
44
|
-
- You can use this tool on the go, over any site, via [the bookmarket](http://
|
46
|
+
- You can use this tool on the go, over any site, via [the bookmarket](http://frontfoot.github.com/overlay_me/demo_page.html)
|
45
47
|
|
46
48
|
- If you want to include it in a non-Ruby project, use the precompiled/minified script ([overlay_me.min.js](https://raw.github.com/frontfoot/overlay_me/master/vendor/assets/javascripts/overlay_me/overlay_me.min.js))
|
47
49
|
|
@@ -137,5 +139,5 @@ You can add some app specific menu for specific project.. Have a look at layout_
|
|
137
139
|
|
138
140
|
- Rufus Post - former workmate at the origin of the ovelaying concept
|
139
141
|
- Lachlan Sylvester - Ruby advisor - Frontfoot Media Solutions
|
140
|
-
- Dan Smith - User Experience Strategist and Califloridian -
|
142
|
+
- Dan Smith - User Experience Strategist and Califloridian - former workmate
|
141
143
|
|
@@ -13,9 +13,13 @@ if OverlayMe.mustLoad() # dont do it twice
|
|
13
13
|
clear_all_button = (new Backbone.View).make 'button', { class: 'reset', onClick: "javascript: OverlayMe.clearAndReload()" }, 'Reset All (r)'
|
14
14
|
basics_panel.append clear_all_button
|
15
15
|
|
16
|
+
toggle_all_display = ->
|
17
|
+
$o(window).trigger 'overlay_me:toggle_all_display'
|
18
|
+
$o(window).trigger 'overlay_me:toggle_overlay_me_images_container_display'
|
19
|
+
|
16
20
|
hide_button = (new Backbone.View).make 'button', { class: 'hide' }, 'Hide (h)'
|
17
21
|
$o(hide_button).bind 'click', (event) =>
|
18
|
-
|
22
|
+
toggle_all_display()
|
19
23
|
basics_panel.append hide_button
|
20
24
|
|
21
25
|
# add the element to the page menu
|
@@ -25,7 +29,7 @@ if OverlayMe.mustLoad() # dont do it twice
|
|
25
29
|
$o(window).bind('keypress', (event) =>
|
26
30
|
# console.log event.keyCode, event.charCode
|
27
31
|
if event.charCode == 104 # h
|
28
|
-
|
32
|
+
toggle_all_display()
|
29
33
|
if event.charCode == 99 # c
|
30
34
|
OverlayMe.menu.toggleCollapse()
|
31
35
|
if event.charCode == 114 # r
|