modeljs 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
|
|
1
1
|
|
2
2
|
Model.Attribute.Text = Model.Attribute.extend({
|
3
3
|
|
4
|
+
show_placeholder: true,
|
4
5
|
show_reminder: true,
|
5
6
|
|
6
7
|
view: function()
|
@@ -28,6 +29,7 @@ Model.Attribute.Text = Model.Attribute.extend({
|
|
28
29
|
.attr('type', 'text')
|
29
30
|
.attr('id', this.base)
|
30
31
|
.attr('name', this.base)
|
32
|
+
.attr('placeholder', this.nice_name)
|
31
33
|
.val(this.value);
|
32
34
|
if (this.show_reminder)
|
33
35
|
input.keyup(function (){ this2.flash_reminder(); })
|
@@ -0,0 +1,22 @@
|
|
1
|
+
// Requires all the modeljs files
|
2
|
+
//
|
3
|
+
//= require class
|
4
|
+
//= require model
|
5
|
+
//= require attribute
|
6
|
+
//= require form
|
7
|
+
//= require form/embedded
|
8
|
+
//= require attribute/checkbox-multiple
|
9
|
+
//= require attribute/checkbox
|
10
|
+
//= require attribute/date-time
|
11
|
+
//= require attribute/file
|
12
|
+
//= require attribute/hidden
|
13
|
+
//= require attribute/image
|
14
|
+
//= require attribute/password
|
15
|
+
//= require attribute/radio
|
16
|
+
//= require attribute/rich-text
|
17
|
+
//= require attribute/select
|
18
|
+
//= require attribute/texarea
|
19
|
+
//= require attribute/textjs
|
20
|
+
//= require attribute/h1
|
21
|
+
//= require attribute/time
|
22
|
+
//= require attribute/video
|
data/lib/modeljs/version.rb
CHANGED
metadata
CHANGED
@@ -1,70 +1,71 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: modeljs
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 8
|
9
|
-
version: 0.0.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.9
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- William Barry
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rails
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
25
19
|
- - ~>
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 3
|
29
|
-
- 2
|
30
|
-
- 13
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 3.2.13
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: jquery-rails
|
36
23
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.13
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: jquery-rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
44
38
|
type: :runtime
|
45
|
-
version_requirements: *id002
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: activesupport
|
48
39
|
prerelease: false
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: activesupport
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
56
54
|
type: :runtime
|
57
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
58
62
|
description: A javascript model framework.
|
59
|
-
email:
|
63
|
+
email:
|
60
64
|
- william@nine.is
|
61
65
|
executables: []
|
62
|
-
|
63
66
|
extensions: []
|
64
|
-
|
65
67
|
extra_rdoc_files: []
|
66
|
-
|
67
|
-
files:
|
68
|
+
files:
|
68
69
|
- app/assets/images/loading.gif
|
69
70
|
- app/assets/images/loading_small.gif
|
70
71
|
- app/assets/javascripts/attribute/checkbox-multiple.js
|
@@ -87,6 +88,7 @@ files:
|
|
87
88
|
- app/assets/javascripts/form/embedded.js
|
88
89
|
- app/assets/javascripts/form.js
|
89
90
|
- app/assets/javascripts/model.js
|
91
|
+
- app/assets/javascripts/modeljs.all.js
|
90
92
|
- app/assets/javascripts/modeljs.js
|
91
93
|
- app/assets/stylesheets/modeljs.css
|
92
94
|
- lib/modeljs/engine.rb
|
@@ -96,35 +98,28 @@ files:
|
|
96
98
|
- MIT-LICENSE
|
97
99
|
- Rakefile
|
98
100
|
- README.md
|
99
|
-
has_rdoc: true
|
100
101
|
homepage: http://github.com/williambarry007/modeljs
|
101
102
|
licenses: []
|
102
|
-
|
103
103
|
post_install_message:
|
104
104
|
rdoc_options: []
|
105
|
-
|
106
|
-
require_paths:
|
105
|
+
require_paths:
|
107
106
|
- lib
|
108
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
requirements:
|
117
|
-
- -
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
|
120
|
-
- 0
|
121
|
-
version: "0"
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
122
119
|
requirements: []
|
123
|
-
|
124
120
|
rubyforge_project:
|
125
|
-
rubygems_version: 1.
|
121
|
+
rubygems_version: 1.8.25
|
126
122
|
signing_key:
|
127
123
|
specification_version: 3
|
128
124
|
summary: A javascript model framework.
|
129
125
|
test_files: []
|
130
|
-
|