backboneAX 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module BackboneAX
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  $.dateRawNow = ()->
2
- jQuery.dateRawFormat(Date.today())
2
+ $.dateRawFormat(Date.today())
3
3
 
4
4
  $.dateRawFormat = (date)->
5
5
  return null unless date?
@@ -61,6 +61,8 @@ class Bx.Model.Base extends Backbone.Model
61
61
  value
62
62
  when "dateLong"
63
63
  Date.parseExact(value, "yyyyMMddHHmm").toString("dddd MMMM d, yyyy")
64
+ when "dateUSA"
65
+ Date.parseExact(value, "yyyyMMddHHmm").toString("MM/dd/yyyy")
64
66
  when "date"
65
67
  Date.parseExact(value, "yyyyMMddHHmm").toString("d MMM yy")
66
68
  when "timeLong"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backboneAX
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-08 00:00:00.000000000 Z
12
+ date: 2012-03-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: backbone Application Extensions for cleaner application development
15
15
  email:
@@ -51,7 +51,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  segments:
53
53
  - 0
54
- hash: 1365274908186949691
54
+ hash: -4314935065340217309
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  segments:
62
62
  - 0
63
- hash: 1365274908186949691
63
+ hash: -4314935065340217309
64
64
  requirements: []
65
65
  rubyforge_project: backboneAX
66
66
  rubygems_version: 1.8.17