This repository was archived by the owner on May 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed
Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -403,6 +403,10 @@ steal.plugin("jquery").then(function(){
403403 namespace = current ;
404404 shortName = parts [ parts . length - 1 ] ;
405405 fullName = className ;
406+
407+ //@steal -remove-start
408+ steal . dev . isHappyName ( className )
409+ //@steal -remove-end
406410 }
407411
408412 var makeClass ;
Original file line number Diff line number Diff line change 299299 if ( / ^ \/ \/ / . test ( url ) ) {
300300 url = steal . root . join ( settings . fixture . substr ( 2 ) )
301301 }
302+ //@steal -remove-start
303+ steal . dev . log ( "looking for fixture in " + url )
304+ //@steal -remove-end
305+
302306 settings . url = url
303307 settings . data = null ;
304308 settings . type = "GET"
309+ if ( ! settings . error ) {
310+ settings . error = function ( xhr , error , message ) {
311+ throw "fixtures.js Error " + error + " " + message ;
312+ }
313+ }
305314 return ajax ( settings ) ;
306315
307316 }
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ You can validate your model's attributes with another plugin. See [validation].
136136jQuery . Class . extend ( "jQuery.Model" ,
137137/* @Static */
138138{
139- storeType : jQuery . Store ,
139+ storeType : null ,
140140 setup : function ( ) {
141141 this . validations = [ ] ;
142142 this . attributes = { } ; //list of all attributes ever given to this model
Original file line number Diff line number Diff line change 11// provides very simple storage
22// var store = new jQuery.Store();
33// when its being extended, it should make a new simplestore
4- steal . then ( function ( ) {
4+ steal . plugins ( 'jquery/model/store' ) . then ( function ( ) {
55/**
66 * Provides simple storage for elements. Replace this store with Gears!
77 */
8- jQuery . Class . extend ( "jQuery.Store" ,
8+ jQuery . Class . extend ( "jQuery.Model. Store" ,
99/* @prototype */
1010{
1111 /**
You can’t perform that action at this time.
0 commit comments