Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
This commit is contained in:
16
assets/plugins/jquery.maskedinput/spec/lib/matchers.js
Normal file
16
assets/plugins/jquery.maskedinput/spec/lib/matchers.js
Normal file
@@ -0,0 +1,16 @@
|
||||
beforeEach(function(){
|
||||
this.addMatchers({
|
||||
toHaveValue:function(expected){
|
||||
return (this.actual=this.actual.val())===expected;
|
||||
},
|
||||
toMatchPropertiesOf:function(expected){
|
||||
if($.type(expected)!=='object')
|
||||
return false;
|
||||
for(var prop in expected){
|
||||
if(this.actual[prop]!==expected[prop])
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user