overlay_me 0.12.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- overlay_me (0.12.1)
4
+ overlay_me (0.13.0)
5
5
  coffee-script
6
6
  compass
7
7
  haml
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Use it now!
2
2
 
3
- Store the bookmarklet from [this page](http://dev.frontfoot.com.au/overlay_me/demo_page.html) and load OverlayMe on top of any web page!
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://dev.frontfoot.com.au/overlay_me/demo_page.html)
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 - FrontFoot Media Solutions
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
- $o(window).trigger 'overlay_me:toggle_all_display'
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
- $o(window).trigger 'overlay_me:toggle_all_display'
32
+ toggle_all_display()
29
33
  if event.charCode == 99 # c
30
34
  OverlayMe.menu.toggleCollapse()
31
35
  if event.charCode == 114 # r