umlaut 3.0.0alpha5 → 3.0.0alpha6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/umlaut/update_html.js +21 -0
- data/app/assets/javascripts/umlaut_ui.js +15 -0
- data/app/helpers/resolve_helper.rb +14 -4
- data/app/views/resolve/api.xml.builder +10 -14
- data/lib/#Untitled-1# +14 -0
- data/lib/umlaut/routes.rb +14 -1
- data/lib/umlaut/version.rb +1 -1
- data/lib/umlaut.rb +12 -9
- data/test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7 +0 -0
- data/test/dummy/tmp/cache/assets/C70/4D0/sprockets%2F034ad2036e623081bd352800786dfe80 +0 -0
- data/test/dummy/tmp/cache/assets/CBB/9C0/sprockets%2F706f28923fb754cad04b9107c89986a1 +31 -0
- data/test/dummy/tmp/cache/assets/CBF/B60/sprockets%2F08ca89671549936265dcb673bf02e36f +0 -0
- data/test/dummy/tmp/cache/assets/CC9/9F0/sprockets%2F306166316e2cafd13c15e62b51a2339d +0 -0
- data/test/dummy/tmp/cache/assets/CF7/2B0/sprockets%2F25a7c73655bd3598173b39d9f98bcd46 +880 -0
- data/test/dummy/tmp/cache/assets/CFE/080/sprockets%2F37fe9f4255baddbd549a659914929398 +0 -0
- data/test/dummy/tmp/cache/assets/D0B/E10/sprockets%2F1444763abc4444a8e129efdb9a43235f +378 -0
- data/test/dummy/tmp/cache/assets/D1F/830/sprockets%2Fe6a7a907a8e9b43780a80fe69a92913d +11773 -0
- data/test/dummy/tmp/cache/assets/D22/060/sprockets%2F9aec77b768e91a802d284271c58e2f7e +21361 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D33/6D0/sprockets%2F500129c57f1146e556ec3aacd6cd38c1 +158 -0
- data/test/dummy/tmp/cache/assets/D50/7B0/sprockets%2F6df95fb9a4189df351c1c88546c84a1d +394 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +877 -0
- data/test/dummy/tmp/cache/assets/D69/820/sprockets%2F55a4f1a7c4918d71c0d4fb5b7dd4c055 +9272 -0
- data/test/dummy/tmp/cache/assets/D71/6B0/sprockets%2Fde558b71b494cf09b1bf055c8dff0353 +53 -0
- data/test/dummy/tmp/cache/assets/D72/610/sprockets%2Fa8c708eeb30ef93de34d755d4f45d023 +864 -0
- data/test/dummy/tmp/cache/assets/D76/AD0/sprockets%2Fe2158cde93188cf5ab6457bc6d6602ec +41 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +21744 -0
- data/test/dummy/tmp/cache/assets/D9B/770/sprockets%2F8aacf02eb7dbb0949704b28f27b87e0b +39 -0
- data/test/dummy/tmp/cache/assets/DD0/140/sprockets%2F1656d1d8f4c13fe42aff6553c6cdcda7 +11789 -0
- data/test/dummy/tmp/cache/assets/DE8/790/sprockets%2Fd1333bde2b9aafcc712d11dd09ab35d8 +0 -0
- data/test/dummy/tmp/cache/assets/DF1/AA0/sprockets%2Fedd37b0fdb6157fccb2297a8a10acc90 +9288 -0
- data/test/dummy/tmp/cache/assets/E03/570/sprockets%2F493bdc0ac14cd4f57fdfe4253f992bde +14 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E5F/960/sprockets%2Fdc007b6cad5c7ef08e33ec28cfff0ef6 +0 -0
- metadata +200 -98
- data/test/dummy/config/database-jhu.yml +0 -44
- data/test/dummy/config/database.yml +0 -53
@@ -0,0 +1,39 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1325695618.0005581:@value{ I"length:EFi�I"digest;
|
2
|
+
F"%ab99e209a1b1db2629590c4007a04cbbI"source;
|
3
|
+
FI"�// Some code to re-size our window to config defined minimum height/width
|
4
|
+
// We have little control over what size a content provider generates a
|
5
|
+
// window for a link resolver. Often it's too small. So we resize in
|
6
|
+
// js.
|
7
|
+
|
8
|
+
// Some browsers won't let us resize the window though. Oh well, we try.
|
9
|
+
// Those that wont' let us just silently no-op.
|
10
|
+
|
11
|
+
jQuery(document).ready(function($) {
|
12
|
+
var min_width = 820;
|
13
|
+
var min_height = 400;
|
14
|
+
|
15
|
+
// Default to something huge, so if we fail in getting dimensions,
|
16
|
+
// we won't resize.
|
17
|
+
var orig_width = 100000;
|
18
|
+
var orig_height = 100000;
|
19
|
+
|
20
|
+
// JQuery document viewport width/height
|
21
|
+
|
22
|
+
orig_width = $(window).width();
|
23
|
+
orig_height = $(window).height();
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
width_diff = min_width - orig_width;
|
28
|
+
height_diff = min_height - orig_height;
|
29
|
+
|
30
|
+
if (width_diff < 0) { width_diff = 0 }
|
31
|
+
if (height_diff < 0) { height_diff = 0 }
|
32
|
+
|
33
|
+
if (width_diff >0 || height_diff > 0) {
|
34
|
+
window.resizeBy(width_diff, height_diff)
|
35
|
+
}
|
36
|
+
});
|
37
|
+
;
|
38
|
+
FI"
|
39
|
+
F"%998fbd0448ea00819317dcb8e2381c9c
|