wysihtml5n-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTE3ZDM1MjVlN2YxYzczZmJhMmNlYjUzNjY1MzdiYWRmMTViZGI3Yw==
4
+ NWNmMjU4Mzc5NGJmOTgyODRiODQ3MjIzZmM3NzBjYWZjMWIzZDEwNg==
5
5
  data.tar.gz: !binary |-
6
- ZGU2NmYwMmNmZDRlMWI5N2JjM2IzYmRjNzcxMzc4YTVhNTNkMTdlZg==
7
- !binary "U0hBNTEy":
6
+ YzFiNzg5M2VjMGI0MjViYTY4NTA1NmQyMTg4MmNlNGEwYjM3MDA4MQ==
7
+ SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2ZlNTdmZTRiOWIzYjZjMDgzNmY3NTAwOGIzNDg0ZDk1ZTI5YmY0NmNmN2Y3
10
- MzExYjZlNjcwYzZmMjMwZmM3MmQwMzczOWQ1YWEwYmU2NTk1ZDVmMTkzNmQ3
11
- YTA1YjQ2MjVjZGUzODM3YjRmOTUxY2FiYzQyZTMxZDI1ZTUxMzA=
9
+ YjE3OWQxNGMyNzkwYTA2ODllOTQ1ZTRiYjg0OTU3ZTM4YWNmOWI2ZjQ3MWVj
10
+ OTZiNWYwNGU4MzQ5M2ViZTc3YTk0NjU1NWM0OGExYWU1MzQ3MjQ0MTgxMTIz
11
+ M2Y5NDFiODcxMzBmODJiMTljODA4NDJkNDcxZGZjYWU3MjgyMTc=
12
12
  data.tar.gz: !binary |-
13
- ZmRhMDMzNWE5OWQwNDZmYjVmNjJmYTFhMmE0MWM0ZDQzMDA0YmFkMmNiMDli
14
- M2YwNTRmZDdlMTU2ZjI3OWI0OTM2MWZmNWZmNmE0OTc4NzQ4MjY4ZDE5NDNm
15
- ODE5NTg1YTlhOTczMDc5MzUyYTI2ZTcxZTdiZjVhYjQyOTg4MmM=
13
+ MWQ5NTA1YTYzZGQ1NTM4OWNiYTEzYzc3ZDI2NzI2MTgyYTkxNDZkMDg3NzE5
14
+ OGM0Y2I1MWMzM2JjMzI3MDQwZDQ2YTE0ODAzOTU2MDc1N2UwZTE4MThhODVi
15
+ MTIwOTAyNzFlNjA1MjNiMWE5MDUwNWRmMzlmYzc1MmY3N2E2MmU=
@@ -1,5 +1,5 @@
1
1
  module Wysihtml5n
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -17,7 +17,7 @@ class UsageCssSpec < Wysihtml5n::Rails::Spec
17
17
  end
18
18
 
19
19
  it 'must render the correct path for the icon sprites' do
20
- app_css.must_include 'url(/assets/fontawesome-webfont.woff)'
20
+ app_css.must_include 'url(/assets/wysihtml5n/fontawesome-webfont.woff)'
21
21
  end
22
22
 
23
23
  end
@@ -49,7 +49,7 @@ class UsageCssSpec < Wysihtml5n::Rails::Spec
49
49
  end
50
50
 
51
51
  it 'must render the correct path for the icon sprites' do
52
- sprockets_css.must_include 'url(/assets/fontawesome-webfont.woff)'
52
+ sprockets_css.must_include 'url(/assets/wysihtml5n/fontawesome-webfont.woff)'
53
53
  end
54
54
 
55
55
  end
@@ -0,0 +1,220 @@
1
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
2
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
3
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
4
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
5
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
6
+ Compiled application.css (551ms) (pid 19209)
7
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
8
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
9
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
10
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
11
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
12
+ Compiled application.css (505ms) (pid 19209)
13
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
14
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
15
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
16
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
17
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
18
+ Compiled application.css (534ms) (pid 19209)
19
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19209)
20
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (2ms) (pid 19209)
21
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19209)
22
+ Compiled wysihtml5n.js (45ms) (pid 19209)
23
+ Compiled application.js (52ms) (pid 19209)
24
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19209)
25
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (2ms) (pid 19209)
26
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19209)
27
+ Compiled wysihtml5n.js (37ms) (pid 19209)
28
+ Compiled application.js (43ms) (pid 19209)
29
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19209)
30
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (2ms) (pid 19209)
31
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19209)
32
+ Compiled individual.js (33ms) (pid 19209)
33
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/individual.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
34
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
35
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
36
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
37
+ Compiled individual.css (497ms) (pid 19209)
38
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
39
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
40
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
41
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
42
+ Compiled wysihtml5n.css (475ms) (pid 19209)
43
+ Compiled sprockets.css (503ms) (pid 19209)
44
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
45
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
46
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
47
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
48
+ Compiled wysihtml5n.css (457ms) (pid 19209)
49
+ Compiled sprockets.css (488ms) (pid 19209)
50
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
51
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
52
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
53
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007faecbae09a8>
54
+ Compiled wysihtml5n.css (458ms) (pid 19209)
55
+ Compiled sprockets.css (490ms) (pid 19209)
56
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
57
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
58
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
59
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
60
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
61
+ Compiled application.css (533ms) (pid 19588)
62
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
63
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
64
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
65
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
66
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
67
+ Compiled application.css (479ms) (pid 19588)
68
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
69
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
70
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
71
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
72
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
73
+ Compiled application.css (495ms) (pid 19588)
74
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19588)
75
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (3ms) (pid 19588)
76
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19588)
77
+ Compiled wysihtml5n.js (50ms) (pid 19588)
78
+ Compiled application.js (57ms) (pid 19588)
79
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19588)
80
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (2ms) (pid 19588)
81
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19588)
82
+ Compiled wysihtml5n.js (37ms) (pid 19588)
83
+ Compiled application.js (42ms) (pid 19588)
84
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19588)
85
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (16ms) (pid 19588)
86
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19588)
87
+ Compiled individual.js (32ms) (pid 19588)
88
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/individual.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
89
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
90
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
91
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
92
+ Compiled individual.css (482ms) (pid 19588)
93
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
94
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
95
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
96
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
97
+ Compiled wysihtml5n.css (520ms) (pid 19588)
98
+ Compiled sprockets.css (527ms) (pid 19588)
99
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
100
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
101
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
102
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
103
+ Compiled wysihtml5n.css (486ms) (pid 19588)
104
+ Compiled sprockets.css (493ms) (pid 19588)
105
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
106
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
107
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
108
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007f969b93e3b8>
109
+ Compiled wysihtml5n.css (502ms) (pid 19588)
110
+ Compiled sprockets.css (508ms) (pid 19588)
111
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
112
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
113
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
114
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
115
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
116
+ Compiled application.css (545ms) (pid 19632)
117
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
118
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
119
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
120
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
121
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
122
+ Compiled application.css (516ms) (pid 19632)
123
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
124
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
125
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
126
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
127
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
128
+ Compiled application.css (493ms) (pid 19632)
129
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19632)
130
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (2ms) (pid 19632)
131
+ Compiled wysihtml5n/wysihtml5-enhanced.js (15ms) (pid 19632)
132
+ Compiled wysihtml5n.js (37ms) (pid 19632)
133
+ Compiled application.js (44ms) (pid 19632)
134
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19632)
135
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (19ms) (pid 19632)
136
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19632)
137
+ Compiled wysihtml5n.js (40ms) (pid 19632)
138
+ Compiled application.js (47ms) (pid 19632)
139
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 19632)
140
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (2ms) (pid 19632)
141
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 19632)
142
+ Compiled individual.js (21ms) (pid 19632)
143
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/individual.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
144
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
145
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
146
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
147
+ Compiled individual.css (452ms) (pid 19632)
148
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
149
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
150
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
151
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
152
+ Compiled wysihtml5n.css (448ms) (pid 19632)
153
+ Compiled sprockets.css (455ms) (pid 19632)
154
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
155
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
156
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
157
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
158
+ Compiled wysihtml5n.css (477ms) (pid 19632)
159
+ Compiled sprockets.css (484ms) (pid 19632)
160
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
161
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
162
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
163
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fba2b6aefb8>
164
+ Compiled wysihtml5n.css (472ms) (pid 19632)
165
+ Compiled sprockets.css (477ms) (pid 19632)
166
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
167
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
168
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
169
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
170
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
171
+ Compiled application.css (540ms) (pid 91413)
172
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
173
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
174
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
175
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
176
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
177
+ Compiled application.css (483ms) (pid 91413)
178
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/application.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
179
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
180
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
181
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
182
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
183
+ Compiled application.css (491ms) (pid 91413)
184
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 91413)
185
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (3ms) (pid 91413)
186
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 91413)
187
+ Compiled wysihtml5n.js (53ms) (pid 91413)
188
+ Compiled application.js (60ms) (pid 91413)
189
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 91413)
190
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (2ms) (pid 91413)
191
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 91413)
192
+ Compiled wysihtml5n.js (36ms) (pid 91413)
193
+ Compiled application.js (42ms) (pid 91413)
194
+ Compiled wysihtml5n/jcrop.js (0ms) (pid 91413)
195
+ Compiled wysihtml5n/wysihtml5-0.3.0.js (17ms) (pid 91413)
196
+ Compiled wysihtml5n/wysihtml5-enhanced.js (0ms) (pid 91413)
197
+ Compiled individual.js (35ms) (pid 91413)
198
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/4e671f05344bffbc5049a986412af18db4565b75/individual.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
199
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
200
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
201
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
202
+ Compiled individual.css (498ms) (pid 91413)
203
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
204
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
205
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
206
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
207
+ Compiled wysihtml5n.css (492ms) (pid 91413)
208
+ Compiled sprockets.css (498ms) (pid 91413)
209
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
210
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
211
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
212
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
213
+ Compiled wysihtml5n.css (499ms) (pid 91413)
214
+ Compiled sprockets.css (505ms) (pid 91413)
215
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/96193b16086b1484fd41fefaf814c553909425ca/wysihtml5n.css.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
216
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_bootstrap.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
217
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_editor.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
218
+ Warning. Error encountered while saving cache /Users/zohararad/workspace/wysihtml5n-rails/test/dummy/tmp/cache/sass/105c22b0158df17988773a757ec11d3a1b74a9ac/_font-awesome.scssc: can't dump anonymous class #<Class:0x007fcaf5e25870>
219
+ Compiled wysihtml5n.css (486ms) (pid 91413)
220
+ Compiled sprockets.css (492ms) (pid 91413)
@@ -1,9 +1,9 @@
1
1
  /**
2
- * jquery.Jcrop.js v0.9.10
2
+ * jquery.Jcrop.js v0.9.12
3
3
  * jQuery Image Cropping Plugin - released under MIT License
4
4
  * Author: Kelly Hallman <khallman@gmail.com>
5
5
  * http://github.com/tapmodo/Jcrop
6
- * Copyright (c) 2008-2012 Tapmodo Interactive LLC {{{
6
+ * Copyright (c) 2008-2013 Tapmodo Interactive LLC {{{
7
7
  *
8
8
  * Permission is hereby granted, free of charge, to any person
9
9
  * obtaining a copy of this software and associated documentation
@@ -33,11 +33,14 @@
33
33
 
34
34
  $.Jcrop = function (obj, opt) {
35
35
  var options = $.extend({}, $.Jcrop.defaults),
36
- docOffset, lastcurs, ie6mode = false;
36
+ docOffset,
37
+ _ua = navigator.userAgent.toLowerCase(),
38
+ is_msie = /msie/.test(_ua),
39
+ ie6mode = /msie [1-6]\./.test(_ua);
37
40
 
38
41
  // Internal Methods {{{
39
42
  function px(n) {
40
- return n + 'px';
43
+ return Math.round(n) + 'px';
41
44
  }
42
45
  function cssClass(cl) {
43
46
  return options.baseClass + '-' + cl;
@@ -66,13 +69,13 @@
66
69
  });
67
70
  }
68
71
  //}}}
69
- function startDragMode(mode, pos) //{{{
72
+ function startDragMode(mode, pos, touch) //{{{
70
73
  {
71
74
  docOffset = getPos($img);
72
75
  Tracker.setCursor(mode === 'move' ? mode : mode + '-resize');
73
76
 
74
77
  if (mode === 'move') {
75
- return Tracker.activateHandlers(createMover(pos), doneSelect);
78
+ return Tracker.activateHandlers(createMover(pos), doneSelect, touch);
76
79
  }
77
80
 
78
81
  var fc = Coords.getFixed();
@@ -82,7 +85,7 @@
82
85
  Coords.setPressed(Coords.getCorner(opp));
83
86
  Coords.setCurrent(opc);
84
87
 
85
- Tracker.activateHandlers(dragmodeHandler(mode, fc), doneSelect);
88
+ Tracker.activateHandlers(dragmodeHandler(mode, fc), doneSelect, touch);
86
89
  }
87
90
  //}}}
88
91
  function dragmodeHandler(mode, f) //{{{
@@ -237,7 +240,7 @@
237
240
  var pos = mouseAbs(e);
238
241
  Coords.setPressed(pos);
239
242
  Selection.update();
240
- Tracker.activateHandlers(selectDrag, doneSelect);
243
+ Tracker.activateHandlers(selectDrag, doneSelect, e.type.substring(0,5)==='touch');
241
244
  KeyManager.watchKeys();
242
245
 
243
246
  e.stopPropagation();
@@ -254,7 +257,7 @@
254
257
  function newTracker() //{{{
255
258
  {
256
259
  var trk = $('<div></div>').addClass(cssClass('tracker'));
257
- if ($.browser.msie) {
260
+ if (is_msie) {
258
261
  trk.css({
259
262
  opacity: 0,
260
263
  backgroundColor: 'white'
@@ -267,9 +270,6 @@
267
270
  // }}}
268
271
  // Initialization {{{
269
272
  // Sanitize some options {{{
270
- if ($.browser.msie && ($.browser.version.split('.')[0] === '6')) {
271
- ie6mode = true;
272
- }
273
273
  if (typeof(obj) !== 'object') {
274
274
  obj = $(obj)[0];
275
275
  }
@@ -398,8 +398,7 @@
398
398
  // Touch support detection function adapted (under MIT License)
399
399
  // from code by Jeffrey Sambells - http://github.com/iamamused/
400
400
  function hasTouchSupport() {
401
- var support = {},
402
- events = ['touchstart', 'touchmove', 'touchend'],
401
+ var support = {}, events = ['touchstart', 'touchmove', 'touchend'],
403
402
  el = document.createElement('div'), i;
404
403
 
405
404
  try {
@@ -427,25 +426,27 @@
427
426
  return {
428
427
  createDragger: function (ord) {
429
428
  return function (e) {
430
- e.pageX = e.originalEvent.changedTouches[0].pageX;
431
- e.pageY = e.originalEvent.changedTouches[0].pageY;
432
429
  if (options.disabled) {
433
430
  return false;
434
431
  }
435
432
  if ((ord === 'move') && !options.allowMove) {
436
433
  return false;
437
434
  }
435
+ docOffset = getPos($img);
438
436
  btndown = true;
439
- startDragMode(ord, mouseAbs(e));
437
+ startDragMode(ord, mouseAbs(Touch.cfilter(e)), true);
440
438
  e.stopPropagation();
441
439
  e.preventDefault();
442
440
  return false;
443
441
  };
444
442
  },
445
443
  newSelection: function (e) {
444
+ return newSelection(Touch.cfilter(e));
445
+ },
446
+ cfilter: function (e){
446
447
  e.pageX = e.originalEvent.changedTouches[0].pageX;
447
448
  e.pageY = e.originalEvent.changedTouches[0].pageY;
448
- return newSelection(e);
449
+ return e;
449
450
  },
450
451
  isSupported: hasTouchSupport,
451
452
  support: detectSupport()
@@ -622,21 +623,13 @@
622
623
  //}}}
623
624
  function rebound(p) //{{{
624
625
  {
625
- if (p[0] < 0) {
626
- p[0] = 0;
627
- }
628
- if (p[1] < 0) {
629
- p[1] = 0;
630
- }
626
+ if (p[0] < 0) p[0] = 0;
627
+ if (p[1] < 0) p[1] = 0;
631
628
 
632
- if (p[0] > boundx) {
633
- p[0] = boundx;
634
- }
635
- if (p[1] > boundy) {
636
- p[1] = boundy;
637
- }
629
+ if (p[0] > boundx) p[0] = boundx;
630
+ if (p[1] > boundy) p[1] = boundy;
638
631
 
639
- return [p[0], p[1]];
632
+ return [Math.round(p[0]), Math.round(p[1])];
640
633
  }
641
634
  //}}}
642
635
  function flipCoords(x1, y1, x2, y2) //{{{
@@ -896,10 +889,15 @@
896
889
  //}}}
897
890
  function insertHandle(ord) //{{{
898
891
  {
899
- var hs = options.handleSize;
900
- return dragDiv(ord, hdep++).css({
901
- opacity: options.handleOpacity
902
- }).width(hs).height(hs).addClass(cssClass('handle'));
892
+ var hs = options.handleSize,
893
+
894
+ div = dragDiv(ord, hdep++).css({
895
+ opacity: options.handleOpacity
896
+ }).addClass(cssClass('handle'));
897
+
898
+ if (hs) { div.width(hs).height(hs); }
899
+
900
+ return div;
903
901
  }
904
902
  //}}}
905
903
  function insertDragbar(ord) //{{{
@@ -953,7 +951,7 @@
953
951
  //}}}
954
952
  function resize(w, h) //{{{
955
953
  {
956
- $sel.width(w).height(h);
954
+ $sel.width(Math.round(w)).height(Math.round(h));
957
955
  }
958
956
  //}}}
959
957
  function refresh() //{{{
@@ -1053,9 +1051,11 @@
1053
1051
  //}}}
1054
1052
  function animMode(v) //{{{
1055
1053
  {
1056
- if (animating === v) {
1054
+ if (v) {
1055
+ animating = true;
1057
1056
  disableHandles();
1058
1057
  } else {
1058
+ animating = false;
1059
1059
  enableHandles();
1060
1060
  }
1061
1061
  }
@@ -1128,21 +1128,21 @@
1128
1128
  onDone = function () {},
1129
1129
  trackDoc = options.trackDocument;
1130
1130
 
1131
- function toFront() //{{{
1131
+ function toFront(touch) //{{{
1132
1132
  {
1133
1133
  $trk.css({
1134
1134
  zIndex: 450
1135
1135
  });
1136
- if (Touch.support) {
1136
+
1137
+ if (touch)
1137
1138
  $(document)
1138
1139
  .bind('touchmove.jcrop', trackTouchMove)
1139
1140
  .bind('touchend.jcrop', trackTouchEnd);
1140
- }
1141
- if (trackDoc) {
1141
+
1142
+ else if (trackDoc)
1142
1143
  $(document)
1143
1144
  .bind('mousemove.jcrop',trackMove)
1144
1145
  .bind('mouseup.jcrop',trackUp);
1145
- }
1146
1146
  }
1147
1147
  //}}}
1148
1148
  function toBack() //{{{
@@ -1181,27 +1181,24 @@
1181
1181
  return false;
1182
1182
  }
1183
1183
  //}}}
1184
- function activateHandlers(move, done) //{{{
1184
+ function activateHandlers(move, done, touch) //{{{
1185
1185
  {
1186
1186
  btndown = true;
1187
1187
  onMove = move;
1188
1188
  onDone = done;
1189
- toFront();
1189
+ toFront(touch);
1190
1190
  return false;
1191
1191
  }
1192
1192
  //}}}
1193
1193
  function trackTouchMove(e) //{{{
1194
1194
  {
1195
- e.pageX = e.originalEvent.changedTouches[0].pageX;
1196
- e.pageY = e.originalEvent.changedTouches[0].pageY;
1197
- return trackMove(e);
1195
+ onMove(mouseAbs(Touch.cfilter(e)));
1196
+ return false;
1198
1197
  }
1199
1198
  //}}}
1200
1199
  function trackTouchEnd(e) //{{{
1201
1200
  {
1202
- e.pageX = e.originalEvent.changedTouches[0].pageX;
1203
- e.pageY = e.originalEvent.changedTouches[0].pageY;
1204
- return trackUp(e);
1201
+ return trackUp(Touch.cfilter(e));
1205
1202
  }
1206
1203
  //}}}
1207
1204
  function setCursor(t) //{{{
@@ -1227,8 +1224,9 @@
1227
1224
  position: 'fixed',
1228
1225
  left: '-120px',
1229
1226
  width: '12px'
1230
- }),
1231
- $keywrap = $('<div />').css({
1227
+ }).addClass('jcrop-keymgr'),
1228
+
1229
+ $keywrap = $('<div />').css({
1232
1230
  position: 'absolute',
1233
1231
  overflow: 'hidden'
1234
1232
  }).append($keymgr);
@@ -1337,8 +1335,8 @@
1337
1335
  pcent = 0,
1338
1336
  velocity = options.swingSpeed;
1339
1337
 
1340
- x = animat[0];
1341
- y = animat[1];
1338
+ x1 = animat[0];
1339
+ y1 = animat[1];
1342
1340
  x2 = animat[2];
1343
1341
  y2 = animat[3];
1344
1342
 
@@ -1352,10 +1350,10 @@
1352
1350
  return function () {
1353
1351
  pcent += (100 - pcent) / velocity;
1354
1352
 
1355
- animat[0] = x + ((pcent / 100) * ix1);
1356
- animat[1] = y + ((pcent / 100) * iy1);
1357
- animat[2] = x2 + ((pcent / 100) * ix2);
1358
- animat[3] = y2 + ((pcent / 100) * iy2);
1353
+ animat[0] = Math.round(x1 + ((pcent / 100) * ix1));
1354
+ animat[1] = Math.round(y1 + ((pcent / 100) * iy1));
1355
+ animat[2] = Math.round(x2 + ((pcent / 100) * ix2));
1356
+ animat[3] = Math.round(y2 + ((pcent / 100) * iy2));
1359
1357
 
1360
1358
  if (pcent >= 99.8) {
1361
1359
  pcent = 100;
@@ -1365,6 +1363,7 @@
1365
1363
  queueAnimator();
1366
1364
  } else {
1367
1365
  Selection.done();
1366
+ Selection.animMode(false);
1368
1367
  if (typeof(callback) === 'function') {
1369
1368
  callback.call(api);
1370
1369
  }
@@ -1428,6 +1427,7 @@
1428
1427
  {
1429
1428
  $div.remove();
1430
1429
  $origimg.show();
1430
+ $origimg.css('visibility','visible');
1431
1431
  $(obj).removeData('Jcrop');
1432
1432
  }
1433
1433
  //}}}
@@ -1576,8 +1576,7 @@
1576
1576
  }
1577
1577
  };
1578
1578
 
1579
- if ($.browser.msie)
1580
- $div.bind('selectstart', function () { return false; });
1579
+ if (is_msie) $div.bind('selectstart', function () { return false; });
1581
1580
 
1582
1581
  $origimg.data('Jcrop', api);
1583
1582
  return api;
@@ -1659,7 +1658,7 @@
1659
1658
  bgFade: false,
1660
1659
  borderOpacity: 0.4,
1661
1660
  handleOpacity: 0.5,
1662
- handleSize: 7,
1661
+ handleSize: null,
1663
1662
 
1664
1663
  aspectRatio: 0,
1665
1664
  keySupport: true,
metadata CHANGED
@@ -1,37 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wysihtml5n-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zohar Arad
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-02 00:00:00.000000000 Z
11
+ date: 2014-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
14
+ name: sass-rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: railties
28
+ name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.1'
34
- type: :runtime
34
+ type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
@@ -39,13 +39,13 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.1'
41
41
  - !ruby/object:Gem::Dependency
42
- name: sass-rails
42
+ name: railties
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.1'
48
- type: :runtime
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
@@ -56,16 +56,30 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.9.2
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.9.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: WYSIHTML5-Enhanced is an HTML5 rich text editor based on wysihtml5, with
70
84
  support for image drag & drop and UI powered by Twitter Bootstrap
71
85
  email:
@@ -118,6 +132,7 @@ files:
118
132
  - test/dummy/config/locales/en.yml
119
133
  - test/dummy/config/routes.rb
120
134
  - test/dummy/config.ru
135
+ - test/dummy/log/test.log
121
136
  - test/dummy/public/404.html
122
137
  - test/dummy/public/422.html
123
138
  - test/dummy/public/500.html
@@ -125,10 +140,16 @@ files:
125
140
  - test/dummy/Rakefile
126
141
  - test/dummy/README.rdoc
127
142
  - test/dummy/script/rails
143
+ - test/dummy/tmp/cache/assets/CEC/FC0/sprockets%2F6d7721a5809fa94978b15ea877fd10a2
144
+ - test/dummy/tmp/cache/assets/D04/3C0/sprockets%2F29d763bd40cc25622b1f04b876a5c3e3
145
+ - test/dummy/tmp/cache/assets/D28/530/sprockets%2F9d96e3c933706c36e87f9254ef6db5a2
146
+ - test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f
147
+ - test/dummy/tmp/cache/assets/E3A/D90/sprockets%2Fce0dbefdb4416ebc42589ecdbf7d7857
128
148
  - test/spec_helper.rb
129
149
  - test/support/helpers.rb
130
150
  homepage: https://github.com/zohararad/wysihtml5n-rails
131
- licenses: []
151
+ licenses:
152
+ - MIT
132
153
  metadata: {}
133
154
  post_install_message:
134
155
  rdoc_options: []
@@ -146,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
167
  version: '0'
147
168
  requirements: []
148
169
  rubyforge_project:
149
- rubygems_version: 2.0.7
170
+ rubygems_version: 2.1.11
150
171
  signing_key:
151
172
  specification_version: 4
152
173
  summary: WYSIHTML5-Enhanced Rich Text editor, converted to SASS and Rails asset pipeline
@@ -176,6 +197,7 @@ test_files:
176
197
  - test/dummy/config/locales/en.yml
177
198
  - test/dummy/config/routes.rb
178
199
  - test/dummy/config.ru
200
+ - test/dummy/log/test.log
179
201
  - test/dummy/public/404.html
180
202
  - test/dummy/public/422.html
181
203
  - test/dummy/public/500.html
@@ -183,5 +205,10 @@ test_files:
183
205
  - test/dummy/Rakefile
184
206
  - test/dummy/README.rdoc
185
207
  - test/dummy/script/rails
208
+ - test/dummy/tmp/cache/assets/CEC/FC0/sprockets%2F6d7721a5809fa94978b15ea877fd10a2
209
+ - test/dummy/tmp/cache/assets/D04/3C0/sprockets%2F29d763bd40cc25622b1f04b876a5c3e3
210
+ - test/dummy/tmp/cache/assets/D28/530/sprockets%2F9d96e3c933706c36e87f9254ef6db5a2
211
+ - test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f
212
+ - test/dummy/tmp/cache/assets/E3A/D90/sprockets%2Fce0dbefdb4416ebc42589ecdbf7d7857
186
213
  - test/spec_helper.rb
187
214
  - test/support/helpers.rb