modernizr-rails 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +11 -0
- data/.idea/modernizr-rails.iml +10 -0
- data/.idea/modules.xml +9 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +397 -0
- data/Gemfile +4 -0
- data/Rakefile +1 -0
- data/lib/.DS_Store +0 -0
- data/lib/modernizr-rails.rb +6 -0
- data/lib/modernizr/rails/engine.rb +7 -0
- data/lib/modernizr/rails/version.rb +5 -0
- data/modernizr-rails.gemspec +22 -0
- data/vendor/assets/javascripts/modernizr.js +4 -0
- metadata +74 -0
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
modernizr-rails
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build modernizr-rails-2.0.4.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install modernizr-rails-2.0.4.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v2.0.4 and build and push modernizr-rails-2.0.4.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="DependencyValidationManager">
|
4
|
+
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
|
5
|
+
</component>
|
6
|
+
<component name="ProjectResources">
|
7
|
+
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
|
8
|
+
</component>
|
9
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.2-p180" project-jdk-type="RUBY_SDK" />
|
10
|
+
</project>
|
11
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager">
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
5
|
+
<orderEntry type="inheritedJdk" />
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
7
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.15, RVM: ruby-1.9.2-p180) [gem]" level="application" />
|
8
|
+
</component>
|
9
|
+
</module>
|
10
|
+
|
data/.idea/modules.xml
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/modernizr-rails.iml" filepath="$PROJECT_DIR$/.idea/modernizr-rails.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,397 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="cd0ec823-2c1a-4a41-baf6-9fd1ddb82c91" name="Default" comment="" />
|
5
|
+
<ignored path="modernizr-rails.iws" />
|
6
|
+
<ignored path=".idea/workspace.xml" />
|
7
|
+
<option name="TRACKING_ENABLED" value="true" />
|
8
|
+
<option name="SHOW_DIALOG" value="false" />
|
9
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
11
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
12
|
+
</component>
|
13
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
14
|
+
<component name="CreatePatchCommitExecutor">
|
15
|
+
<option name="PATCH_PATH" value="" />
|
16
|
+
<option name="REVERSE_PATCH" value="false" />
|
17
|
+
</component>
|
18
|
+
<component name="DaemonCodeAnalyzer">
|
19
|
+
<disable_hints />
|
20
|
+
</component>
|
21
|
+
<component name="FavoritesManager">
|
22
|
+
<favorites_list name="modernizr-rails" />
|
23
|
+
</component>
|
24
|
+
<component name="FileEditorManager">
|
25
|
+
<leaf>
|
26
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
27
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
28
|
+
<provider selected="true" editor-type-id="text-editor">
|
29
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
30
|
+
<folding />
|
31
|
+
</state>
|
32
|
+
</provider>
|
33
|
+
</entry>
|
34
|
+
</file>
|
35
|
+
<file leaf-file-name=".gitignore" pinned="false" current="false" current-in-tab="false">
|
36
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
37
|
+
<provider selected="true" editor-type-id="text-editor">
|
38
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
39
|
+
<folding />
|
40
|
+
</state>
|
41
|
+
</provider>
|
42
|
+
</entry>
|
43
|
+
</file>
|
44
|
+
<file leaf-file-name="modernizr.js" pinned="false" current="false" current-in-tab="false">
|
45
|
+
<entry file="file://$PROJECT_DIR$/vendor/assets/javascripts/modernizr/modernizr.js">
|
46
|
+
<provider selected="true" editor-type-id="text-editor">
|
47
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
48
|
+
<folding />
|
49
|
+
</state>
|
50
|
+
</provider>
|
51
|
+
</entry>
|
52
|
+
</file>
|
53
|
+
<file leaf-file-name="modernizr-rails.rb" pinned="false" current="false" current-in-tab="false">
|
54
|
+
<entry file="file://$PROJECT_DIR$/lib/modernizr-rails.rb">
|
55
|
+
<provider selected="true" editor-type-id="text-editor">
|
56
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
57
|
+
<folding />
|
58
|
+
</state>
|
59
|
+
</provider>
|
60
|
+
</entry>
|
61
|
+
</file>
|
62
|
+
<file leaf-file-name="rails.rb" pinned="false" current="false" current-in-tab="false">
|
63
|
+
<entry file="file://$PROJECT_DIR$/lib/modernizr/rails.rb">
|
64
|
+
<provider selected="true" editor-type-id="text-editor">
|
65
|
+
<state line="5" column="97" selection-start="96" selection-end="96" vertical-scroll-proportion="0.0">
|
66
|
+
<folding />
|
67
|
+
</state>
|
68
|
+
</provider>
|
69
|
+
</entry>
|
70
|
+
</file>
|
71
|
+
<file leaf-file-name="modernizr-rails.gemspec" pinned="false" current="true" current-in-tab="true">
|
72
|
+
<entry file="file://$PROJECT_DIR$/modernizr-rails.gemspec">
|
73
|
+
<provider selected="true" editor-type-id="text-editor">
|
74
|
+
<state line="15" column="46" selection-start="672" selection-end="672" vertical-scroll-proportion="0.55012226">
|
75
|
+
<folding />
|
76
|
+
</state>
|
77
|
+
</provider>
|
78
|
+
</entry>
|
79
|
+
</file>
|
80
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
81
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
82
|
+
<provider selected="true" editor-type-id="text-editor">
|
83
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
84
|
+
<folding />
|
85
|
+
</state>
|
86
|
+
</provider>
|
87
|
+
</entry>
|
88
|
+
</file>
|
89
|
+
</leaf>
|
90
|
+
</component>
|
91
|
+
<component name="Git.Settings">
|
92
|
+
<option name="CHECKOUT_INCLUDE_TAGS" value="false" />
|
93
|
+
<option name="UPDATE_CHANGES_POLICY" value="STASH" />
|
94
|
+
</component>
|
95
|
+
<component name="IdeDocumentHistory">
|
96
|
+
<option name="changedFiles">
|
97
|
+
<list>
|
98
|
+
<option value="$PROJECT_DIR$/lib/modernizr/rails.rb" />
|
99
|
+
<option value="$PROJECT_DIR$/modernizr-rails.gemspec" />
|
100
|
+
</list>
|
101
|
+
</option>
|
102
|
+
</component>
|
103
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
104
|
+
<OptionsSetting value="true" id="Add" />
|
105
|
+
<OptionsSetting value="true" id="Remove" />
|
106
|
+
<OptionsSetting value="true" id="Checkout" />
|
107
|
+
<OptionsSetting value="true" id="Update" />
|
108
|
+
<OptionsSetting value="true" id="Status" />
|
109
|
+
<OptionsSetting value="true" id="Edit" />
|
110
|
+
<ConfirmationsSetting value="0" id="Add" />
|
111
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
112
|
+
</component>
|
113
|
+
<component name="ProjectReloadState">
|
114
|
+
<option name="STATE" value="0" />
|
115
|
+
</component>
|
116
|
+
<component name="ProjectView">
|
117
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
118
|
+
<flattenPackages />
|
119
|
+
<showMembers />
|
120
|
+
<showModules />
|
121
|
+
<showLibraryContents />
|
122
|
+
<hideEmptyPackages />
|
123
|
+
<abbreviatePackageNames />
|
124
|
+
<autoscrollToSource />
|
125
|
+
<autoscrollFromSource />
|
126
|
+
<sortByType />
|
127
|
+
</navigator>
|
128
|
+
<panes>
|
129
|
+
<pane id="ProjectPane">
|
130
|
+
<subPane>
|
131
|
+
<PATH>
|
132
|
+
<PATH_ELEMENT>
|
133
|
+
<option name="myItemId" value="modernizr-rails" />
|
134
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
135
|
+
</PATH_ELEMENT>
|
136
|
+
</PATH>
|
137
|
+
<PATH>
|
138
|
+
<PATH_ELEMENT>
|
139
|
+
<option name="myItemId" value="modernizr-rails" />
|
140
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
141
|
+
</PATH_ELEMENT>
|
142
|
+
<PATH_ELEMENT>
|
143
|
+
<option name="myItemId" value="modernizr-rails" />
|
144
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
145
|
+
</PATH_ELEMENT>
|
146
|
+
</PATH>
|
147
|
+
<PATH>
|
148
|
+
<PATH_ELEMENT>
|
149
|
+
<option name="myItemId" value="modernizr-rails" />
|
150
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
151
|
+
</PATH_ELEMENT>
|
152
|
+
<PATH_ELEMENT>
|
153
|
+
<option name="myItemId" value="modernizr-rails" />
|
154
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
155
|
+
</PATH_ELEMENT>
|
156
|
+
<PATH_ELEMENT>
|
157
|
+
<option name="myItemId" value="vendor" />
|
158
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
159
|
+
</PATH_ELEMENT>
|
160
|
+
<PATH_ELEMENT>
|
161
|
+
<option name="myItemId" value="assets" />
|
162
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
163
|
+
</PATH_ELEMENT>
|
164
|
+
<PATH_ELEMENT>
|
165
|
+
<option name="myItemId" value="javascripts" />
|
166
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
167
|
+
</PATH_ELEMENT>
|
168
|
+
<PATH_ELEMENT>
|
169
|
+
<option name="myItemId" value="modernizr" />
|
170
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
171
|
+
</PATH_ELEMENT>
|
172
|
+
</PATH>
|
173
|
+
<PATH>
|
174
|
+
<PATH_ELEMENT>
|
175
|
+
<option name="myItemId" value="modernizr-rails" />
|
176
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
177
|
+
</PATH_ELEMENT>
|
178
|
+
<PATH_ELEMENT>
|
179
|
+
<option name="myItemId" value="modernizr-rails" />
|
180
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
181
|
+
</PATH_ELEMENT>
|
182
|
+
<PATH_ELEMENT>
|
183
|
+
<option name="myItemId" value="lib" />
|
184
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
185
|
+
</PATH_ELEMENT>
|
186
|
+
</PATH>
|
187
|
+
<PATH>
|
188
|
+
<PATH_ELEMENT>
|
189
|
+
<option name="myItemId" value="modernizr-rails" />
|
190
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
191
|
+
</PATH_ELEMENT>
|
192
|
+
<PATH_ELEMENT>
|
193
|
+
<option name="myItemId" value="modernizr-rails" />
|
194
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
195
|
+
</PATH_ELEMENT>
|
196
|
+
<PATH_ELEMENT>
|
197
|
+
<option name="myItemId" value="lib" />
|
198
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
199
|
+
</PATH_ELEMENT>
|
200
|
+
<PATH_ELEMENT>
|
201
|
+
<option name="myItemId" value="modernizr" />
|
202
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
203
|
+
</PATH_ELEMENT>
|
204
|
+
</PATH>
|
205
|
+
<PATH>
|
206
|
+
<PATH_ELEMENT>
|
207
|
+
<option name="myItemId" value="modernizr-rails" />
|
208
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
209
|
+
</PATH_ELEMENT>
|
210
|
+
<PATH_ELEMENT>
|
211
|
+
<option name="myItemId" value="modernizr-rails" />
|
212
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
213
|
+
</PATH_ELEMENT>
|
214
|
+
<PATH_ELEMENT>
|
215
|
+
<option name="myItemId" value="lib" />
|
216
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
217
|
+
</PATH_ELEMENT>
|
218
|
+
<PATH_ELEMENT>
|
219
|
+
<option name="myItemId" value="modernizr" />
|
220
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
221
|
+
</PATH_ELEMENT>
|
222
|
+
<PATH_ELEMENT>
|
223
|
+
<option name="myItemId" value="rails" />
|
224
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
225
|
+
</PATH_ELEMENT>
|
226
|
+
</PATH>
|
227
|
+
</subPane>
|
228
|
+
</pane>
|
229
|
+
<pane id="Scope" />
|
230
|
+
<pane id="Favorites" />
|
231
|
+
</panes>
|
232
|
+
</component>
|
233
|
+
<component name="PropertiesComponent">
|
234
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
235
|
+
</component>
|
236
|
+
<component name="RunManager">
|
237
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
238
|
+
<module name="" />
|
239
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
240
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
241
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
242
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
243
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
244
|
+
<envs />
|
245
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
246
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
|
247
|
+
<COVERAGE_PATTERN ENABLED="true">
|
248
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
249
|
+
</COVERAGE_PATTERN>
|
250
|
+
</EXTENSION>
|
251
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
252
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
253
|
+
<method />
|
254
|
+
</configuration>
|
255
|
+
<list size="0" />
|
256
|
+
</component>
|
257
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
258
|
+
<component name="SvnConfiguration" maxAnnotateRevisions="500">
|
259
|
+
<option name="USER" value="" />
|
260
|
+
<option name="PASSWORD" value="" />
|
261
|
+
<option name="mySSHConnectionTimeout" value="30000" />
|
262
|
+
<option name="mySSHReadTimeout" value="30000" />
|
263
|
+
<option name="LAST_MERGED_REVISION" />
|
264
|
+
<option name="MERGE_DRY_RUN" value="false" />
|
265
|
+
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
|
266
|
+
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
|
267
|
+
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
|
268
|
+
<option name="DETECT_NESTED_COPIES" value="true" />
|
269
|
+
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
|
270
|
+
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
|
271
|
+
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
|
272
|
+
<option name="FORCE_UPDATE" value="false" />
|
273
|
+
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
|
274
|
+
</component>
|
275
|
+
<component name="TaskManager">
|
276
|
+
<task active="true" id="Default" summary="Default task">
|
277
|
+
<created>1308620003812</created>
|
278
|
+
<updated>1308620003812</updated>
|
279
|
+
</task>
|
280
|
+
<servers />
|
281
|
+
</component>
|
282
|
+
<component name="ToolWindowManager">
|
283
|
+
<frame x="0" y="22" width="1280" height="745" extended-state="6" />
|
284
|
+
<editor active="false" />
|
285
|
+
<layout>
|
286
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
287
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
288
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
289
|
+
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
290
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.6707504" order="0" side_tool="false" content_ui="tabs" />
|
291
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
292
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32924962" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
293
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
294
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
295
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
296
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
297
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
298
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
299
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
300
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
301
|
+
</layout>
|
302
|
+
</component>
|
303
|
+
<component name="VcsManagerConfiguration">
|
304
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
305
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
|
306
|
+
<option name="CHECK_NEW_TODO" value="true" />
|
307
|
+
<option name="myTodoPanelSettings">
|
308
|
+
<value>
|
309
|
+
<are-packages-shown value="false" />
|
310
|
+
<are-modules-shown value="false" />
|
311
|
+
<flatten-packages value="false" />
|
312
|
+
<is-autoscroll-to-source value="false" />
|
313
|
+
</value>
|
314
|
+
</option>
|
315
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
316
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
317
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
318
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
319
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
320
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
321
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
322
|
+
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
323
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
324
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
325
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
326
|
+
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
327
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
328
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
329
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
|
330
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
331
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
332
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
333
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
334
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
335
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
336
|
+
<option name="ACTIVE_VCS_NAME" />
|
337
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
338
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
339
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
340
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
341
|
+
</component>
|
342
|
+
<component name="XDebuggerManager">
|
343
|
+
<breakpoint-manager />
|
344
|
+
</component>
|
345
|
+
<component name="editorHistoryManager">
|
346
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
347
|
+
<provider selected="true" editor-type-id="text-editor">
|
348
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
349
|
+
<folding />
|
350
|
+
</state>
|
351
|
+
</provider>
|
352
|
+
</entry>
|
353
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
354
|
+
<provider selected="true" editor-type-id="text-editor">
|
355
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
356
|
+
<folding />
|
357
|
+
</state>
|
358
|
+
</provider>
|
359
|
+
</entry>
|
360
|
+
<entry file="file://$PROJECT_DIR$/vendor/assets/javascripts/modernizr/modernizr.js">
|
361
|
+
<provider selected="true" editor-type-id="text-editor">
|
362
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
363
|
+
<folding />
|
364
|
+
</state>
|
365
|
+
</provider>
|
366
|
+
</entry>
|
367
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
368
|
+
<provider selected="true" editor-type-id="text-editor">
|
369
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
370
|
+
<folding />
|
371
|
+
</state>
|
372
|
+
</provider>
|
373
|
+
</entry>
|
374
|
+
<entry file="file://$PROJECT_DIR$/lib/modernizr-rails.rb">
|
375
|
+
<provider selected="true" editor-type-id="text-editor">
|
376
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
377
|
+
<folding />
|
378
|
+
</state>
|
379
|
+
</provider>
|
380
|
+
</entry>
|
381
|
+
<entry file="file://$PROJECT_DIR$/lib/modernizr/rails.rb">
|
382
|
+
<provider selected="true" editor-type-id="text-editor">
|
383
|
+
<state line="5" column="97" selection-start="96" selection-end="96" vertical-scroll-proportion="0.0">
|
384
|
+
<folding />
|
385
|
+
</state>
|
386
|
+
</provider>
|
387
|
+
</entry>
|
388
|
+
<entry file="file://$PROJECT_DIR$/modernizr-rails.gemspec">
|
389
|
+
<provider selected="true" editor-type-id="text-editor">
|
390
|
+
<state line="15" column="46" selection-start="672" selection-end="672" vertical-scroll-proportion="0.55012226">
|
391
|
+
<folding />
|
392
|
+
</state>
|
393
|
+
</provider>
|
394
|
+
</entry>
|
395
|
+
</component>
|
396
|
+
</project>
|
397
|
+
|
data/Gemfile
ADDED
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
data/lib/.DS_Store
ADDED
Binary file
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/modernizr/rails/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "modernizr-rails"
|
6
|
+
s.version = Modernizr::Rails::VERSION
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ["Russ Frisch"]
|
9
|
+
s.email = [""]
|
10
|
+
s.homepage = "http://rubygems.org/gems/modernizr-rails"
|
11
|
+
s.summary = %q{Gem wrapper to include the Modernizr.js library via the asset pipeline.}
|
12
|
+
s.description = %q{This Modernizr.js was built using the at http://www.modernizr.com/download/ with all options enabled.}
|
13
|
+
|
14
|
+
s.rubyforge_project = "modernizr-rails"
|
15
|
+
|
16
|
+
s.add_development_dependency "rails", ">= 3.1.0.rc4"
|
17
|
+
|
18
|
+
s.files = `git ls-files`.split("\n")
|
19
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
20
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
|
+
s.require_paths = ["lib"]
|
22
|
+
end
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/* Modernizr 2.0.4 (Custom Build) | MIT & BSD
|
2
|
+
* Contains: fontface | backgroundsize | borderimage | borderradius | boxshadow | flexbox | hsla | multiplebgs | opacity | rgba | textshadow | cssanimations | csscolumns | generatedcontent | cssgradients | cssreflections | csstransforms | csstransforms3d | csstransitions | applicationcache | canvas | canvastext | draganddrop | hashchange | history | audio | video | indexeddb | input | inputtypes | localstorage | postmessage | sessionstorage | websockets | websqldatabase | webworkers | geolocation | inlinesvg | smil | svg | svgclippaths | touch | webgl | iepp | respond | mq | cssclasses | teststyles | testprop | testallprops | hasevent | prefixes | domprefixes | load
|
3
|
+
*/
|
4
|
+
;window.Modernizr=function(a,b,c){function I(){e.input=function(a){for(var b=0,c=a.length;b<c;b++)t[a[b]]=a[b]in l;return t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)l.setAttribute("type",f=a[d]),e=l.type!=="text",e&&(l.value=m,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,g.removeChild(l)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=l.checkValidity&&l.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(l),g.offsetWidth,e=l.value!=m,g.removeChild(l)):e=l.value!=m)),s[a[d]]=!!e;return s}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function G(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+p.join(c+" ")+c).split(" ");return F(d,b)}function F(a,b){for(var d in a)if(k[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function E(a,b){return!!~(""+a).indexOf(b)}function D(a,b){return typeof a===b}function C(a,b){return B(o.join(a+";")+(b||""))}function B(a){k.cssText=a}var d="2.0.4",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l=b.createElement("input"),m=":)",n=Object.prototype.toString,o=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),q={svg:"http://www.w3.org/2000/svg"},r={},s={},t={},u=[],v=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:i+(d+1),k.appendChild(j);f=["­","<style>",a,"</style>"].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},w=function(b){if(a.matchMedia)return matchMedia(b).matches;var c;v("@media "+b+" { #"+i+" { position: absolute; } }",function(b){c=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position=="absolute"});return c},x=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=D(e[d],"function"),D(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),y,z={}.hasOwnProperty,A;!D(z,c)&&!D(z.call,c)?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],c)};var H=function(c,d){var f=c.join(""),g=d.length;v(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||j.touch.offsetTop===9,e.csstransforms3d=j.csstransforms3d.offsetLeft===9,e.generatedcontent=j.generatedcontent.offsetHeight>=1,e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",o.join("touch-enabled),("),i,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",o.join("transform-3d),("),i,")","{#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',m,'"}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);r.flexbox=function(){function c(a,b,c,d){a.style.cssText=o.join(b+":"+c+";")+(d||"")}function a(a,b,c,d){b+=":",a.style.cssText=(b+o.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");a(d,"display","box","width:42px;padding:0;"),c(e,"box-flex","1","width:10px;"),d.appendChild(e),g.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e),g.removeChild(d);return f},r.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},r.canvastext=function(){return!!e.canvas&&!!D(b.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){return!!a.WebGLRenderingContext},r.touch=function(){return e.touch},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!a.postMessage},r.websqldatabase=function(){var b=!!a.openDatabase;return b},r.indexedDB=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b].toLowerCase()+"IndexedDB"])return!0;return!!a.indexedDB},r.hashchange=function(){return x("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},r.history=function(){return!!a.history&&!!history.pushState},r.draganddrop=function(){return x("dragstart")&&x("drop")},r.websockets=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b]+"WebSocket"])return!0;return"WebSocket"in a},r.rgba=function(){B("background-color:rgba(150,255,150,.5)");return E(k.backgroundColor,"rgba")},r.hsla=function(){B("background-color:hsla(120,40%,100%,.5)");return E(k.backgroundColor,"rgba")||E(k.backgroundColor,"hsla")},r.multiplebgs=function(){B("background:url(https://),url(https://),red url(https://)");return/(url\s*\(.*?){3}/.test(k.background)},r.backgroundsize=function(){return G("backgroundSize")},r.borderimage=function(){return G("borderImage")},r.borderradius=function(){return G("borderRadius")},r.boxshadow=function(){return G("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){C("opacity:.55");return/^0.55$/.test(k.opacity)},r.cssanimations=function(){return G("animationName")},r.csscolumns=function(){return G("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";B((a+o.join(b+a)+o.join(c+a)).slice(0,-a.length));return E(k.backgroundImage,"gradient")},r.cssreflections=function(){return G("boxReflect")},r.csstransforms=function(){return!!F(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},r.csstransforms3d=function(){var a=!!F(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d);return a},r.csstransitions=function(){return G("transitionProperty")},r.fontface=function(){return e.fontface},r.generatedcontent=function(){return e.generatedcontent},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType){c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"');var d='video/mp4; codecs="avc1.42E01E';c.h264=a.canPlayType(d+'"')||a.canPlayType(d+', mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}}catch(e){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}catch(d){}return c},r.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},r.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},r.webworkers=function(){return!!a.Worker},r.applicationcache=function(){return!!a.applicationCache},r.svg=function(){return!!b.createElementNS&&!!b.createElementNS(q.svg,"svg").createSVGRect},r.inlinesvg=function(){var a=b.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==q.svg},r.smil=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"animate")))},r.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"clipPath")))};for(var J in r)A(r,J)&&(y=J.toLowerCase(),e[y]=r[J](),u.push((e[y]?"":"no-")+y));e.input||I(),B(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,e._prefixes=o,e._domPrefixes=p,e.mq=w,e.hasEvent=x,e.testProp=function(a){return F([a])},e.testAllProps=G,e.testStyles=v,g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+u.join(" "):"");return e}(this,this.document),function(a,b){function u(){r(!0)}a.respond={},respond.update=function(){},respond.mediaQueriesSupported=b;if(!b){var c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=j.getElementsByTagName("link"),l=[],m=function(){var b=k,c=b.length,d=0,e,f,g,i;for(;d<c;d++)e=b[d],f=e.href,g=e.media,i=e.rel&&e.rel.toLowerCase()==="stylesheet",!!f&&i&&!h[f]&&(!/^([a-zA-Z]+?:(\/\/)?(www\.)?)/.test(f)||f.replace(RegExp.$1,"").split("/")[0]===a.location.host?l.push({href:f,media:g}):h[f]=!0);n()},n=function(){if(l.length){var a=l.shift();s(a.href,function(b){o(b,a.href,a.media),h[a.href]=!0,n()})}},o=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),g=d&&d.length||0,b=b.substring(0,b.lastIndexOf("/")),h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c,j=0,k,l,m,n,o;b.length&&(b+="/"),i&&(g=1);for(;j<g;j++){k=0,i?(l=c,f.push(h(a))):(l=d[j].match(/@media ([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),n=l.split(","),o=n.length;for(;k<o;k++)m=n[k],e.push({media:m.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)&&RegExp.$2,rules:f.length-1,minw:m.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1),maxw:m.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1)})}r()},p,q,r=function(a){var b="clientWidth",h=d[b],l=c.compatMode==="CSS1Compat"&&h||c.body[b]||h,m={},n=c.createDocumentFragment(),o=k[k.length-1],s=(new Date).getTime();if(a&&p&&s-p<i)clearTimeout(q),q=setTimeout(r,i);else{p=s;for(var t in e){var u=e[t];if(!u.minw&&!u.maxw||(!u.minw||u.minw&&l>=u.minw)&&(!u.maxw||u.maxw&&l<=u.maxw))m[u.media]||(m[u.media]=[]),m[u.media].push(f[u.rules])}for(var t in g)g[t]&&g[t].parentNode===j&&j.removeChild(g[t]);for(var t in m){var v=c.createElement("style"),w=m[t].join("\n");v.type="text/css",v.media=t,v.styleSheet?v.styleSheet.cssText=w:v.appendChild(c.createTextNode(w)),n.appendChild(v),g.push(v)}j.insertBefore(n,o.nextSibling)}},s=function(a,b){var c=t();if(!!c){c.open("GET",a,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status==200||c.status==304)&&b(c.responseText)};if(c.readyState==4)return;c.send()}},t=function(){var a=!1,b=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],c=b.length;while(c--){try{a=b[c]()}catch(d){continue}break}return function(){return a}}();m(),respond.update=m,a.addEventListener?a.addEventListener("resize",u,!1):a.attachEvent&&a.attachEvent("onresize",u)}}(this,Modernizr.mq("only all")),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css",!a.e&&(w||r)?function a(b){m(function(){if(!d)try{b.sheet.cssRules.length?(d=1,j()):a(b)}catch(c){c.code==1e3||c.message=="security"||c.message=="denied"?(d=1,m(function(){j()},0)):a(b)}},0)}(c):(c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload()),m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return typeof a=="object"},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b&&(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS&&/css$/.test(i.url)?"c":c,i.noexec),(D(b)||D(j))&&e.load(function(){d(),b&&b(i.origUrl,h,g),j&&j(i.origUrl,h,g)})}}function b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)&&e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;g<a.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)&&b(h,i);else B(a)&&b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
|
metadata
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: modernizr-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.4
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Russ Frisch
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-06-21 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &2157548880 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.1.0.rc4
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2157548880
|
25
|
+
description: This Modernizr.js was built using the at http://www.modernizr.com/download/
|
26
|
+
with all options enabled.
|
27
|
+
email:
|
28
|
+
- ''
|
29
|
+
executables: []
|
30
|
+
extensions: []
|
31
|
+
extra_rdoc_files: []
|
32
|
+
files:
|
33
|
+
- .gitignore
|
34
|
+
- .idea/.name
|
35
|
+
- .idea/.rakeTasks
|
36
|
+
- .idea/encodings.xml
|
37
|
+
- .idea/misc.xml
|
38
|
+
- .idea/modernizr-rails.iml
|
39
|
+
- .idea/modules.xml
|
40
|
+
- .idea/vcs.xml
|
41
|
+
- .idea/workspace.xml
|
42
|
+
- Gemfile
|
43
|
+
- Rakefile
|
44
|
+
- lib/.DS_Store
|
45
|
+
- lib/modernizr-rails.rb
|
46
|
+
- lib/modernizr/rails/engine.rb
|
47
|
+
- lib/modernizr/rails/version.rb
|
48
|
+
- modernizr-rails.gemspec
|
49
|
+
- vendor/assets/javascripts/modernizr.js
|
50
|
+
homepage: http://rubygems.org/gems/modernizr-rails
|
51
|
+
licenses: []
|
52
|
+
post_install_message:
|
53
|
+
rdoc_options: []
|
54
|
+
require_paths:
|
55
|
+
- lib
|
56
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
requirements: []
|
69
|
+
rubyforge_project: modernizr-rails
|
70
|
+
rubygems_version: 1.8.5
|
71
|
+
signing_key:
|
72
|
+
specification_version: 3
|
73
|
+
summary: Gem wrapper to include the Modernizr.js library via the asset pipeline.
|
74
|
+
test_files: []
|